A More Succinct Way to Update Model Attributes

Instead of model.update_attributes! you can use this shorter form: model.update!

Written on July 5, 2017 by alistairmckinnell