diff options
Diffstat (limited to 'lib/arel/algebra')
-rw-r--r-- | lib/arel/algebra/relations/operations/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/algebra/relations/operations/project.rb b/lib/arel/algebra/relations/operations/project.rb index 17431c9a82..0590b8dd88 100644 --- a/lib/arel/algebra/relations/operations/project.rb +++ b/lib/arel/algebra/relations/operations/project.rb @@ -4,7 +4,7 @@ module Arel def initialize(relation, *projections) super(relation) - @projections = projections.collect { |p| p.bind(relation) } + @projections = projections.map { |p| p.bind(relation) } @attributes = Header.new(projections.map { |x| x.bind(self) }) end |