diff options
Diffstat (limited to 'lib/arel/visitors/join_sql.rb')
-rw-r--r-- | lib/arel/visitors/join_sql.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/visitors/join_sql.rb b/lib/arel/visitors/join_sql.rb index 1cdd7eb5ca..9708887075 100644 --- a/lib/arel/visitors/join_sql.rb +++ b/lib/arel/visitors/join_sql.rb @@ -11,8 +11,8 @@ module Arel 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 |