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:
=
instalar:
=
dependencias de Runtime (1):
activerecord
~> 3.0