RubyGems Navigation menu

where_chain 0.5.0

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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.5.0 - February 17, 2023 (9 KB)
  2. 0.4.0 - January 07, 2021 (9 KB)
  3. 0.3.1 - June 25, 2020 (9 KB)
  4. 0.3 - October 01, 2019 (9 KB)
  5. 0.2.5 - September 23, 2019 (9 KB)
Show all versions (10 total)

Runtime Dependencies (1):

activerecord >= 4.2

Development Dependencies (8):

Owners:

Pushed by:

Authors:

  • Marcin Ruszkiewicz

SHA 256 checksum:

e9c281b18522e369043c6fd0d917afcd3f6267405e06889fbd3cbb26cdacb08b

Total downloads 25,092

For this version 1,100

License:

MIT

Required Ruby Version: >= 0

Links: