where_chain 0.2.3
This is a Rails plugin that extends Active Record with additional methods: .like, .unlike, .gt, .gte, .lt and .lte, so that you can replace the SQL strings like Post.where('comments > 5') with Post.where.gt(comments: 5)
Gemfile:
=
安裝:
=
Runtime 相依性套件 (1):
activerecord
>= 4.2
Development 相依性套件 (7):
appraisal
>= 0
database_cleaner
>= 0
factory_bot_rails
>= 0
pry-rails
>= 0
rspec-rails
>= 0
sqlite3
>= 0