diff options
Diffstat (limited to 'lib/active_relation/relations/projection.rb')
-rw-r--r-- | lib/active_relation/relations/projection.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/active_relation/relations/projection.rb b/lib/active_relation/relations/projection.rb index 3fb594e2bb..cd08a5aa54 100644 --- a/lib/active_relation/relations/projection.rb +++ b/lib/active_relation/relations/projection.rb @@ -17,8 +17,8 @@ module ActiveRelation end protected - def __collect__(&block) - Projection.new(relation.__collect__(&block), *projections.collect(&block)) + def descend(&block) + Projection.new(relation.descend(&block), *projections.collect(&block)) end end end
\ No newline at end of file |