method

attributes_for_update

rails latest stable - Class: ActiveRecord::AttributeMethods
attributes_for_update(attribute_names)
private

Filters the primary keys, readonly attributes and virtual columns from the attribute names.