method

attributes_for_create

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).