diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-03 11:12:46 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-03 11:12:46 -0800 |
commit | 957f4c02ddccd243b965e60351bc0a0083e4887d (patch) | |
tree | bacb3fa945a16b4b7f3d803fb3c275bb65cf2897 /lib/arel/visitors/depth_first.rb | |
parent | 824726be706a288f7b67160e1b2f021c10ec7668 (diff) | |
download | rails-957f4c02ddccd243b965e60351bc0a0083e4887d.tar.gz rails-957f4c02ddccd243b965e60351bc0a0083e4887d.tar.bz2 rails-957f4c02ddccd243b965e60351bc0a0083e4887d.zip |
top and limit can be visited
Diffstat (limited to 'lib/arel/visitors/depth_first.rb')
-rw-r--r-- | lib/arel/visitors/depth_first.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/arel/visitors/depth_first.rb b/lib/arel/visitors/depth_first.rb index eec356af4c..ed95cad472 100644 --- a/lib/arel/visitors/depth_first.rb +++ b/lib/arel/visitors/depth_first.rb @@ -18,9 +18,11 @@ module Arel alias :visit_Arel_Nodes_Group :unary alias :visit_Arel_Nodes_Grouping :unary alias :visit_Arel_Nodes_Having :unary + alias :visit_Arel_Nodes_Limit :unary alias :visit_Arel_Nodes_Not :unary alias :visit_Arel_Nodes_Offset :unary alias :visit_Arel_Nodes_On :unary + alias :visit_Arel_Nodes_Top :unary alias :visit_Arel_Nodes_UnqualifiedColumn :unary def function o |