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