Closed tagliala closed 4 years ago
Rails 4’s ActiveRecord_Relation responds to both :map and :each, but it is not an Enumerable
:map
:each
Enumerable
This commit partially restores the old behavior
Ref:
Don't know why Travis is not showing up.
Travis build: https://travis-ci.org/github/nesquena/rabl/builds/678286251
Thank you! Will release a 0.14.2 shortly as well!
Rails 4’s ActiveRecord_Relation responds to both
:map
and:each
, but it is not anEnumerable
This commit partially restores the old behavior
Ref:
721