method

visit_Arel_Nodes_SelectCore

rails latest stable - Class: Arel::Visitors::WhereSql

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

visit_Arel_Nodes_SelectCore(o, collector)
private

No documentation available.

# File activerecord/lib/arel/visitors/where_sql.rb, line 13
        def visit_Arel_Nodes_SelectCore(o, collector)
          collector << "WHERE "
          wheres = o.wheres.map do |where|
            Nodes::SqlLiteral.new(@inner_visitor.accept(where, collector.class.new).value)
          end

          inject_join wheres, collector, " AND "
        end