From 9e9e5906754abfb168faba7d265719b5e613624f Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 23 Sep 2010 13:07:48 -0700 Subject: adding a select statment visitor --- lib/arel/nodes/select_statement.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/arel/nodes') diff --git a/lib/arel/nodes/select_statement.rb b/lib/arel/nodes/select_statement.rb index 637ba5d1d0..371fd7bf21 100644 --- a/lib/arel/nodes/select_statement.rb +++ b/lib/arel/nodes/select_statement.rb @@ -14,7 +14,8 @@ module Arel def initialize_copy other super - @cores = @cores.map { |x| x.clone } + @cores = @cores.map { |x| x.clone } + @orders = @orders.map { |x| x.clone } end end end -- cgit v1.2.3