method

quote_string

rails latest stable - Class: ActiveRecord::ConnectionAdapters::DB2Adapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

quote_string(string)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/db2_adapter.rb, line 89
        def quote_string(string)
          string.gsub(/'/, "''") # ' (for ruby-mode)
        end