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