method
pk_attribute?
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods
pk_attribute?(name)private
No documentation available.
# File activerecord/lib/active_record/attribute_methods.rb, line 488
def pk_attribute?(name)
name == self.class.primary_key
end