spec/dummy/app/forms/update_user_form.rb in rom-rails-0.3.0.beta1 vs spec/dummy/app/forms/update_user_form.rb in rom-rails-0.3.0.rc1
- old
+ new
@@ -1,9 +1,9 @@
class UpdateUserForm < UserForm
commands users: :update
- params.timestamps(:updated_at)
+ attributes.timestamps(:updated_at)
def commit!
- users.try { users.update.by_id(id).set(params) }
+ users.try { users.update.by_id(id).set(attributes) }
end
end