Sha256: 61f0c35df17ec0a677ba0e7a6f2e4100844c9dbb883a71b94e66e679cc277692

Contents?: true

Size: 337 Bytes

Versions: 12

Compression:

Stored size: 337 Bytes

Contents

module ForemanRemoteExecution
  module TemplateRelations
    extend ActiveSupport::Concern

    included do
      # autosave => true is required so the changes of inputs are saved even if template was not changed
      has_many :template_inputs, :dependent => :destroy, :foreign_key => 'template_id', :autosave => true
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
foreman_remote_execution-0.1.2 app/models/concerns/foreman_remote_execution/template_relations.rb
foreman_remote_execution-0.1.1 app/models/concerns/foreman_remote_execution/template_relations.rb
foreman_remote_execution-0.1.0 app/models/concerns/foreman_remote_execution/template_relations.rb
foreman_remote_execution-0.0.10 app/models/concerns/foreman_remote_execution/template_relations.rb
foreman_remote_execution-0.0.8 app/models/concerns/foreman_remote_execution/template_relations.rb
foreman_remote_execution-0.0.7 app/models/concerns/foreman_remote_execution/template_relations.rb
foreman_remote_execution-0.0.6 app/models/concerns/foreman_remote_execution/template_relations.rb
foreman_remote_execution-0.0.5 app/models/concerns/foreman_remote_execution/template_relations.rb
foreman_remote_execution-0.0.4 app/models/concerns/foreman_remote_execution/template_relations.rb
foreman_remote_execution-0.0.3 app/models/concerns/foreman_remote_execution/template_relations.rb
foreman_remote_execution-0.0.2 app/models/concerns/foreman_remote_execution/template_relations.rb
foreman_remote_execution-0.0.1 app/models/concerns/foreman_remote_execution/template_relations.rb