method
update_attributes
v3.0.0 -
Show latest stable
- Class:
ActiveRecord::Persistence
update_attributes(attributes)public
Updates the attributes of the model from the passed-in hash and saves the record, all wrapped in a transaction. If the object is invalid, the saving will fail and false will be returned.