method
attributes_for_create
v8.1.1 -
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).