method
attribute_method?
v8.1.1 -
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 61
def attribute_method?(attr_name)
attr_name == "id" || super
end