Module: ActiveRecord::Sanitization

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

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from ActiveSupport::Concern

append_features, extended, included

Instance Method Details

#quoted_idObject

TODO: Deprecate this



177
178
179
# File 'activerecord/lib/active_record/sanitization.rb', line 177

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