Module: ActiveRecord::Sanitization

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/active_record/sanitization.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#quoted_idObject

TODO: Deprecate this


183
184
185
# File 'lib/active_record/sanitization.rb', line 183

def quoted_id #:nodoc:
  quote_value(id, column_for_attribute(self.class.primary_key))
end