diff options
Diffstat (limited to 'lib/arel/nodes/select_core.rb')
-rw-r--r-- | lib/arel/nodes/select_core.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/arel/nodes/select_core.rb b/lib/arel/nodes/select_core.rb index 7ebdab315d..5e27c7c414 100644 --- a/lib/arel/nodes/select_core.rb +++ b/lib/arel/nodes/select_core.rb @@ -11,9 +11,9 @@ module Arel def initialize_copy other super - @froms = @froms.map { |o| o.clone } - @projections = @projections.map { |o| o.clone } - @wheres = @wheres.map { |o| o.clone } + @froms = @froms.clone + @projections = @projections.clone + @wheres = @wheres.clone end end end |