Look into ActiveRecord's `update_attributes` method.