activerecord-delegation-expected_behaviour 1.1.1
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
< 5.1, >= 5.0