RubyGems Navigation menu

activerecord-delegation-expected_behaviour 1.0.0

In Rails 5 you can no longer call some ActiveRecord class methods named like their Enumerable counterparts. This gem reinstates the expected behaviour, where you can always get the method from Enumerable by calling to_a on the relation.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.7.0 - November 09, 2023 (5.0 KB)
  2. 1.6.0 - May 22, 2023 (5.0 KB)
  3. 1.5.0 - May 01, 2020 (5.0 KB)
  4. 1.4.0 - August 20, 2019 (5.0 KB)
  5. 1.3.0 - April 16, 2018 (5.0 KB)
  6. 1.0.0 - April 13, 2017 (5.0 KB)
显示所有版本 (共 9 个)

Runtime 依赖 (1):

activerecord < 5.1, >= 5.0

Development 依赖 (6):

bundler ~> 1.14
byebug >= 0
minitest ~> 5.0
rake ~> 10.0
simplecov >= 0
sqlite3 >= 0

业主:

作者:

  • Matthias Grosser

SHA 256 校验和:

ec17c39d63d281dc0c3e0159bc2975137225f6b0b90f83b9c1f5c3f9d55a7270

下载总量 16,384

这个版本 2,196

许可:

MIT

需要的 Ruby 版本: >= 0

链接: