ActiveRecord::ConnectionAdapters::Quoting


Files

Methods

Public Instance methods

quote (value, column = nil)

Quotes the column value to help prevent SQL injection attacks.

quote_column_name (column_name)

Quotes the column name. Defaults to no quoting.

quote_string (s)

Quotes a string, escaping any ’ (single quote) and \ (backslash) characters.

quote_table_name (table_name)

Quotes the table name. Defaults to column name quoting.

quoted_date (value)

quoted_false ()

quoted_string_prefix ()

quoted_true ()