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-9.0.59 app/models/insights_rule.rb
foreman_rh_cloud-11.0.2 app/models/insights_rule.rb
foreman_rh_cloud-11.0.1 app/models/insights_rule.rb
foreman_rh_cloud-11.0.0 app/models/insights_rule.rb
foreman_rh_cloud-9.0.58 app/models/insights_rule.rb
foreman_rh_cloud-10.0.2 app/models/insights_rule.rb
foreman_rh_cloud-9.0.57 app/models/insights_rule.rb
foreman_rh_cloud-10.0.1 app/models/insights_rule.rb
foreman_rh_cloud-9.0.56 app/models/insights_rule.rb
foreman_rh_cloud-9.0.55 app/models/insights_rule.rb
foreman_rh_cloud-9.0.54 app/models/insights_rule.rb
foreman_rh_cloud-9.0.53 app/models/insights_rule.rb
foreman_rh_cloud-9.0.52 app/models/insights_rule.rb
foreman_rh_cloud-8.0.52 app/models/insights_rule.rb
foreman_rh_cloud-9.0.51 app/models/insights_rule.rb
foreman_rh_cloud-8.0.51 app/models/insights_rule.rb
foreman_rh_cloud-7.0.48 app/models/insights_rule.rb
foreman_rh_cloud-7.0.47 app/models/insights_rule.rb
foreman_rh_cloud-8.0.50 app/models/insights_rule.rb
foreman_rh_cloud-8.0.49 app/models/insights_rule.rb