Sha256: f3f738070ac972e827dba511de4056df61a1a27c2d6bdb3305cf67aabddbd357

Contents?: true

Size: 551 Bytes

Versions: 23

Compression:

Stored size: 551 Bytes

Contents

module Naf
  class HistoricalJobPrerequisite < ::Naf::ByHistoricalJobId
    # Protect from mass-assignment issue
    attr_accessible :historical_job_id,
                    :prerequisite_historical_job_id

    #---------------------
    # *** Associations ***
    #+++++++++++++++++++++

    belongs_to :historical_job,
      class_name: "::Naf::HistoricalJob",
      foreign_key: 'historical_job_id'
    belongs_to :prerequisite_historical_job,
      class_name: "::Naf::HistoricalJob",
      foreign_key: 'prerequisite_historical_job_id'

  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
naf-2.1.13 app/models/naf/historical_job_prerequisite.rb
naf-2.1.12 app/models/naf/historical_job_prerequisite.rb
naf-2.1.11 app/models/naf/historical_job_prerequisite.rb
naf-2.1.10 app/models/naf/historical_job_prerequisite.rb
naf-2.1.9 app/models/naf/historical_job_prerequisite.rb
naf-2.1.8 app/models/naf/historical_job_prerequisite.rb
naf-2.1.6 app/models/naf/historical_job_prerequisite.rb
naf-2.1.5 app/models/naf/historical_job_prerequisite.rb
naf-2.1.4 app/models/naf/historical_job_prerequisite.rb
naf-2.1.3 app/models/naf/historical_job_prerequisite.rb
naf-2.1.2 app/models/naf/historical_job_prerequisite.rb
naf-2.1.1 app/models/naf/historical_job_prerequisite.rb
naf-2.1.0 app/models/naf/historical_job_prerequisite.rb
naf-2.0.4 app/models/naf/historical_job_prerequisite.rb
naf-2.0.3 app/models/naf/historical_job_prerequisite.rb
naf-2.0.2 app/models/naf/historical_job_prerequisite.rb
naf-2.0.1 app/models/naf/historical_job_prerequisite.rb
naf-2.0.0 app/models/naf/historical_job_prerequisite.rb
naf-1.1.4 app/models/naf/historical_job_prerequisite.rb
naf-1.1.3 app/models/naf/historical_job_prerequisite.rb