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
-
#quoted_id ⇒ Object
:nodoc:.
Methods included from ActiveSupport::Concern
append_features, class_methods, extended, included
Instance Method Details
#quoted_id ⇒ Object
:nodoc:
211 212 213 |
# File 'activerecord/lib/active_record/sanitization.rb', line 211 def quoted_id # :nodoc: self.class.connection.quote(@attributes[self.class.primary_key].value_for_database) end |