RubyGems Navigation menu

activerecord-where-any-of 1.1.0

Provides a mechanism for OR'ing together one or more AREL relations. Normally when one performs `SomeModel.where(condition_1).where(condition_2)`, the result is to AND those conditions together. Unfortunately, there is no good way of OR'ing them without converting the conditions into manual SQL. This mixin addresses that issue.

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 1.1.3 - June 25, 2020 (21,5 ko)
  2. 1.1.2 - May 12, 2020 (21,5 ko)
  3. 1.1.1 - June 11, 2019 (21 ko)
  4. 1.1.0 - December 28, 2016 (12,5 ko)
  5. 1.0.6 - December 28, 2015 (6,5 ko)
Voir toutes les versions (11)

Dépendances de Runtime (1):

activerecord >= 3.0

Dépendances de Development (3):

bundler >= 1.3
rake >= 0
rspec >= 0

Propriétaires:

Auteurs:

  • David McCullars

Total de contrôle SHA 256:

91327e7590c367b659631d7305ef4837a054b112bcbbb489788c3120cc98f727

Total de téléchargements 29 819

Pour cette version 3 199

License:

MIT

Version de Ruby requise: >= 0

Liens: