Sha256: 765b6ea07e09a5b382dd347fc15fe183452cbbcde6b8555b600320839c04f90c

Contents?: true

Size: 301 Bytes

Versions: 41

Compression:

Stored size: 301 Bytes

Contents

class InsightsRule < ApplicationRecord
  has_many :resolutions, class_name: 'InsightsResolution', dependent: :destroy, foreign_key: 'rule_id', primary_key: 'rule_id', inverse_of: :rule

  has_many :hits, class_name: 'InsightsHit', foreign_key: 'rule_id', primary_key: 'rule_id', inverse_of: :rule
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
foreman_rh_cloud-8.0.48 app/models/insights_rule.rb
foreman_rh_cloud-8.0.47 app/models/insights_rule.rb
foreman_rh_cloud-8.0.46 app/models/insights_rule.rb
foreman_rh_cloud-6.0.45 app/models/insights_rule.rb
foreman_rh_cloud-5.0.46 app/models/insights_rule.rb
foreman_rh_cloud-5.0.45 app/models/insights_rule.rb
foreman_rh_cloud-7.0.46 app/models/insights_rule.rb
foreman_rh_cloud-5.0.44 app/models/insights_rule.rb
foreman_rh_cloud-7.0.45 app/models/insights_rule.rb
foreman_rh_cloud-6.0.44 app/models/insights_rule.rb
foreman_rh_cloud-5.0.43 app/models/insights_rule.rb
foreman_rh_cloud-6.0.42.2 app/models/insights_rule.rb
foreman_rh_cloud-6.0.42.1 app/models/insights_rule.rb
foreman_rh_cloud-6.0.43 app/models/insights_rule.rb
foreman_rh_cloud-5.0.42 app/models/insights_rule.rb
foreman_rh_cloud-6.0.42 app/models/insights_rule.rb
foreman_rh_cloud-5.0.41 app/models/insights_rule.rb
foreman_rh_cloud-5.0.39 app/models/insights_rule.rb
foreman_rh_cloud-5.0.38 app/models/insights_rule.rb
foreman_rh_cloud-5.0.37 app/models/insights_rule.rb