activerecord-delegation-expected_behaviour 1.4.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:
=
instalar:
=
Runtime Dependencies (1):
activerecord
~> 6.0.0