app/models/naf/running_job.rb in naf-2.0.4 vs app/models/naf/running_job.rb in naf-2.1.0

- old
+ new

@@ -1,9 +1,10 @@ module Naf class RunningJob < NafBase # Protect from mass-assignment issue attr_accessible :application_id, + :application_schedule_id, :application_type_id, :command, :application_run_group_restriction_id, :application_run_group_name, :application_run_group_limit, @@ -22,9 +23,11 @@ belongs_to :historical_job, class_name: "::Naf::HistoricalJob", foreign_key: :id belongs_to :application, class_name: "::Naf::Application" + belongs_to :application_schedule, + class_name: '::Naf::ApplicationSchedule' belongs_to :application_type, class_name: '::Naf::ApplicationType' belongs_to :application_run_group_restriction, class_name: "::Naf::ApplicationRunGroupRestriction" belongs_to :started_on_machine,