method
attribute_method?
v7.1.3.2 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods::PrimaryKey
attribute_method?(attr_name)private
No documentation available.
# File activerecord/lib/active_record/attribute_methods/primary_key.rb, line 92
def attribute_method?(attr_name)
attr_name == "id" || super
end