- Defined in:
Instance Method Summary collapse
#sanitize(object) ⇒ Object
Used to sanitize objects before they're used in an SQL SELECT statement.
Instance Method Details
#sanitize(object) ⇒ Also known as: quote_value
Used to sanitize objects before they're used in an SQL SELECT statement. Delegates to connection.quote.
8 9 10
# File 'activerecord/lib/active_record/sanitization.rb', line 8 def sanitize(object) # :nodoc: connection.quote(object) end