activerecord-delegation-expected_behaviour 1.5.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:
=
安裝:
=
Runtime 相依性套件 (1):
activerecord
~> 6.0.0