Sha256: 6f1e6b39349daeda8492923897c017841ed21ffbb8cb76028085a3558da3f55a

Contents?: true

Size: 213 Bytes

Versions: 1

Compression:

Stored size: 213 Bytes

Contents

class CreateTaskWithValidations < CreateTask
  register_as :create_task_with_validations

  class Validator
    include ROM::Model::Validator

    validates :title, presence: true
  end

  validator Validator
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rom-rails-0.8.0 spec/dummy/app/commands/create_task_with_validations.rb