Sha256: ebc746cc5dae7c4cd41a56f59fb44599ef008f53a348170ff5f6b7da8ba1da08

Contents?: true

Size: 184 Bytes

Versions: 5

Compression:

Stored size: 184 Bytes

Contents

module Ecom
  module Model
    class Task < ApplicationRecord
      belongs_to :project
      belongs_to :task_template

      validates :code, :name, presence: true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecom_model-2.0.4 app/models/ecom/model/task.rb
ecom_model-2.0.3 app/models/ecom/model/task.rb
ecom_model-2.0.2 app/models/ecom/model/task.rb
ecom_model-2.0.1 app/models/ecom/model/task.rb
ecom_model-2.0.0 app/models/ecom/model/task.rb