module ActiveRecord::ConnectionAdapters::Quoting
def quote_string(s)
Quotes a string, escaping any ' (single quote) and \ (backslash)
def quote_string(s) s.gsub("\\", '\&\&').gsub("'", "''") # ' (for ruby-mode) end
def quote_string(s) s.gsub("\\", '\&\&').gsub("'", "''") # ' (for ruby-mode) end