Module: ActiveRecord::Sanitization
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#quoted_id ⇒ Object
TODO: Deprecate this.
Instance Method Details
#quoted_id ⇒ Object
TODO: Deprecate this
174 175 176 |
# File 'lib/active_record/sanitization.rb', line 174 def quoted_id self.class.quote_value(id, column_for_attribute(self.class.primary_key)) end |