RubyGems Navigation menu

activerecord-where-any-of 1.0.6

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:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 1.1.3 - June 25, 2020 (21.5KB)
  2. 1.1.2 - May 12, 2020 (21.5KB)
  3. 1.1.1 - June 11, 2019 (21KB)
  4. 1.1.0 - December 28, 2016 (12.5KB)
  5. 1.0.6 - December 28, 2015 (6.5KB)
全てのバージョンを表示(全11件)

Runtime依存関係 (1):

activerecord >= 3.0

Development依存関係 (2):

bundler >= 1.3
rake >= 0

所有者:

作者:

  • David McCullars

SHA 256チェックサム:

591a27e6cd13731882ce65770c48b5e6b8607f47074f065f3c95d20285c24e98

累計ダウンロード数 29,819

このバージョンのみ 3,370

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: