method

update!

rails latest stable - Class: ActiveRecord::Persistence
update!(attributes)
public

Updates its receiver just like #update but calls #save! instead of save, so an exception is raised if the record is invalid and saving will fail.