method
attributes_for_create
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods
attributes_for_create(attribute_names)private
Filters out the primary keys, from the attribute names, when the primary key is to be generated (e.g. the id attribute has no value).