method
predicates_with_wrapped_sql_literals
rails latest stable - Class:
ActiveRecord::Relation::WhereClause
predicates_with_wrapped_sql_literals()private
No documentation available.
# File activerecord/lib/active_record/relation/where_clause.rb, line 199
def predicates_with_wrapped_sql_literals
non_empty_predicates.map do |node|
case node
when Arel::Nodes::SqlLiteral, ::String
wrap_sql_literal(node)
else node
end
end
end