where_chain 0.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:
=
install:
=
Runtime Dependencies (1):
activerecord
>= 4.2
Development Dependencies (8):
appraisal
>= 0
database_cleaner
>= 0
factory_bot_rails
>= 0
pry-rails
>= 0
rspec-rails
>= 0
rubocop
>= 0
sqlite3
~> 1.3.0