Sha256: d23c038821c188715b70c3189f638fa5a727152da2f9381ec59589992a92c4ac

Contents?: true

Size: 170 Bytes

Versions: 1

Compression:

Stored size: 170 Bytes

Contents

class UpdateUserForm < UserForm
  commands users: :update

  params.timestamps(:updated_at)

  def commit!
    users.try { users.update.by_id(id).set(params) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rom-rails-0.3.0.beta1 spec/dummy/app/forms/update_user_form.rb