lib/arel/visitors/join_sql.rb in arel-4.0.0 vs lib/arel/visitors/join_sql.rb in arel-4.0.1
- old
+ new
@@ -9,11 +9,11 @@
# This visitor is used in SelectManager#join_sql and is for backwards
# compatibility with Arel V1.0
module JoinSql
private
- def visit_Arel_Nodes_SelectCore o
- o.source.right.map { |j| visit j }.join ' '
+ def visit_Arel_Nodes_SelectCore o, a
+ o.source.right.map { |j| visit j, a }.join ' '
end
end
end
end