module ActiveRecord::Sanitization

Public Instance Methods

quoted_id() Show source
# File activerecord/lib/active_record/sanitization.rb, line 187
def quoted_id
  self.class.quote_value(id, column_for_attribute(self.class.primary_key))
end

TODO: Deprecate this

© 2004–2018 David Heinemeier Hansson
Licensed under the MIT License.