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