schneems/wicked — pull request #11 by opsidao (2012-05-09 08:28:54+00:00)
Title: Use assign_attributes insted of update_attributes

If I use update_attributes, then the validations for the model are checked twice, one under the update_attributes call, and one inside the render_wizard method.

Using assign_attributes doesn't call any callback on the model, and so they are only called once when the model is saved inside the render_wizard method.