Sha256: 8f6af0d540d0b933e25c67fd4c8b588596599e8f4f93a818f23e58138bcfe0ca
Contents?: true
Size: 714 Bytes
Versions: 61
Compression:
Stored size: 714 Bytes
Contents
module ForemanRemoteExecution module ForemanTasksTaskExtensions extend ActiveSupport::Concern included do has_many :job_invocations, :dependent => :destroy, :foreign_key => 'task_id' has_one :template_invocation, :inverse_of => :run_host_job_task, :foreign_key => 'run_host_job_task_id', :dependent => :nullify has_one :template, :through => :template_invocation has_many :remote_execution_features, :through => :template scoped_search :relation => :remote_execution_features, :on => :name, :rename => 'remote_execution_feature.name' scoped_search :relation => :remote_execution_features, :on => :label, :rename => 'remote_execution_feature.label' end end end
Version data entries
61 entries across 61 versions & 1 rubygems