diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-06-29 13:45:26 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-06-29 13:45:26 -0700 |
commit | 7832cd3bb3c6cfd76fdb63ca75995f2e6c87757c (patch) | |
tree | 08282ee1a942264114310efa2fbe2ba1a65cd301 /lib | |
parent | da99e806703ff1e6b004dd0371b323df21d598e7 (diff) | |
download | rails-7832cd3bb3c6cfd76fdb63ca75995f2e6c87757c.tar.gz rails-7832cd3bb3c6cfd76fdb63ca75995f2e6c87757c.tar.bz2 rails-7832cd3bb3c6cfd76fdb63ca75995f2e6c87757c.zip |
fix depth first visitor to support ascending and descending nodes
Diffstat (limited to 'lib')
-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 6f9385de1b..43d186cc1a 100644 --- a/lib/arel/visitors/depth_first.rb +++ b/lib/arel/visitors/depth_first.rb @@ -23,6 +23,8 @@ module Arel alias :visit_Arel_Nodes_Offset :unary alias :visit_Arel_Nodes_On :unary alias :visit_Arel_Nodes_Ordering :unary + alias :visit_Arel_Nodes_Ascending :unary + alias :visit_Arel_Nodes_Descending :unary alias :visit_Arel_Nodes_Top :unary alias :visit_Arel_Nodes_UnqualifiedColumn :unary |