diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/select_manager.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/arel/select_manager.rb b/lib/arel/select_manager.rb index 048cc5133d..d95a259177 100644 --- a/lib/arel/select_manager.rb +++ b/lib/arel/select_manager.rb @@ -9,6 +9,11 @@ module Arel from table end + def initialize_copy other + super + @ctx = @ast.cores.last + end + def limit @ast.limit && @ast.limit.expr end |