Sha256: 993392692d1931ef6eba174faed3e8e16a8bffaf980b3768b4e14b7beddd4dba

Contents?: true

Size: 477 Bytes

Versions: 16

Compression:

Stored size: 477 Bytes

Contents

module Ecom
  module Core
    class LookaheadPlanHistory < ApplicationRecord
      belongs_to :lookahead_plan
      belongs_to :task

      validates_with DateRangeValidator

      validates :lookahead_plan_id, :lookahead_plan, :task_id, :task, :start_date, :end_date,
                :lookahead_plan_revision_number, presence: true

      validates_numericality_of :lookahead_plan_revision_number,
                                greater_than_or_equal_to: 0
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ecom_core-1.3.14 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.13 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.12 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.11 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.10 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.9 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.8 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.7 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.6 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.5 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.4 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.3 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.2 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.1 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.3.0 app/models/ecom/core/lookahead_plan_history.rb
ecom_core-1.2.36 app/models/ecom/core/lookahead_plan_history.rb