Module: StringExtensions

Defined in:
lib/core_extensions.rb

Instance Method Summary collapse

Instance Method Details

#simple_sql_sanitizerObject



15
16
17
# File 'lib/core_extensions.rb', line 15

def simple_sql_sanitizer
  gsub(/\\/, '\&\&').gsub(/'/, "''")
end