diff options
Diffstat (limited to 'lib/arel/visitors/order_clauses.rb')
-rw-r--r-- | lib/arel/visitors/order_clauses.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/visitors/order_clauses.rb b/lib/arel/visitors/order_clauses.rb index b470d3f084..11dbfdad2a 100644 --- a/lib/arel/visitors/order_clauses.rb +++ b/lib/arel/visitors/order_clauses.rb @@ -3,8 +3,8 @@ module Arel class OrderClauses < Arel::Visitors::ToSql private - def visit_Arel_Nodes_SelectStatement o, a - o.orders.map { |x| visit x, a } + def visit_Arel_Nodes_SelectStatement o + o.orders.map { |x| visit x } end end end |