Flowdock
method

predicates_with_wrapped_sql_literals

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: WhereClause
predicates_with_wrapped_sql_literals() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/where_clause.rb, line 204
        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
Register or log in to add new notes.