lib/arel/visitors/join_sql.rb in arel-2.0.1 vs lib/arel/visitors/join_sql.rb in arel-2.0.2

- old
+ new

@@ -7,9 +7,11 @@ # http://www.sqlite.org/syntaxdiagrams.html#join-source # # This visitor is used in SelectManager#join_sql and is for backwards # compatibility with Arel V1.0 class JoinSql < Arel::Visitors::ToSql + private + def visit_Arel_Nodes_SelectCore o [o.froms].grep(Nodes::Join).map { |x| visit x }.join ', ' end def visit_Arel_Nodes_StringJoin o