RubyGems Navigation menu

activerecord-where-any-of 1.0.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:
= Copy to clipboard Copied!

instalar:
=

Versões:

  1. 1.1.3 - June 25, 2020 (21,5 KB)
  2. 1.1.2 - May 12, 2020 (21,5 KB)
  3. 1.1.1 - June 11, 2019 (21 KB)
  4. 1.1.0 - December 28, 2016 (12,5 KB)
  5. 1.0.6 - December 28, 2015 (6,5 KB)
  6. 1.0.0 - July 24, 2014 (4,5 KB)
Mostrar todas as versões (11)

Runtime Dependencies (1):

activerecord ~> 3.0

Development Dependencies (2):

bundler ~> 1.3
rake >= 0

Donos:

Autores:

  • David McCullars

SHA 256 checksum:

ffaae573bacfc8e13213436e315f6e82a3d9eca40b530fb56615e9de069290fa

Total de downloads 30.025

Desta versão 3.836

Licenças:

N/A

Versão Requerida do Ruby: >= 0

Links: