In ActiveRecord::Sanitization::ClassMethods, the
method sanitize_sql_for_conditions and its aliases sanitize_sql and
sanitize_conditions are marked as protected.

However, internally Rails makes several calls to this method via
`send(:sanitize_sql...)` to bypass the protected nature of the method.

I believe that if it needs to be used via send then it probably shouldn't
be marked as protected.

Is there any reason why we could remove the `protected` marker on this
method and convert the `send` usages to normal method calls?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to