method
pk_attribute?
v8.0.0 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods
pk_attribute?(name)private
No documentation available.
# File activerecord/lib/active_record/attribute_methods.rb, line 538
def pk_attribute?(name)
name == @primary_key
end