instance method interpolate_and_sanitize_sql

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20 Private — implementation detail, not part of the public API

Signature

interpolate_and_sanitize_sql(sql, record = nil, sanitize_klass = self.class)

No documentation comment.

Parameters

sql req
record opt = nil
sanitize_klass opt = self.class
Source
# File activerecord/lib/active_record/base.rb, line 1744
      def interpolate_and_sanitize_sql(sql, record = nil, sanitize_klass = self.class)
        sanitized = sanitize_klass.send(:sanitize_sql, sql)
        interpolate_sanitized_sql(sanitized, record, sanitize_klass)
      end

Defined in activerecord/lib/active_record/base.rb line 1744 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Base

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close