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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.6.0 - June 04, 2024 (9.0 KB)
  2. 0.5.0 - February 17, 2023 (9.0 KB)
  3. 0.4.0 - January 07, 2021 (9.0 KB)
  4. 0.3.1 - June 25, 2020 (9.0 KB)
  5. 0.3 - October 01, 2019 (9.0 KB)
显示所有版本 (共 11 个)

Runtime 依赖 (1):

activerecord >= 4.2

Development 依赖 (8):

业主:

推送:

作者:

  • Marcin Ruszkiewicz

SHA 256 校验和:

e9c281b18522e369043c6fd0d917afcd3f6267405e06889fbd3cbb26cdacb08b

下载总量 25,601

这个版本 1,198

许可:

MIT

需要的 Ruby 版本: >= 0

链接: