method
pk_attribute?
v4.1.8 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods
pk_attribute?(name)private
No documentation available.
# File activerecord/lib/active_record/attribute_methods.rb, line 462
def pk_attribute?(name)
column_for_attribute(name).primary
end