Sha256: 579575ad809d821a863cc3b492354cdb894cf48e2f2bf627c2c15ce9b3490bec

Contents?: true

Size: 222 Bytes

Versions: 19

Compression:

Stored size: 222 Bytes

Contents

class InsightsMissingHost < ApplicationRecord
  belongs_to :organization

  scoped_search on: [:name, :insights_id, :rhsm_id, :ip_address]
  validates :organization_id, presence: true
  validates :name, presence: true
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
foreman_rh_cloud-9.0.59 app/models/insights_missing_host.rb
foreman_rh_cloud-11.0.2 app/models/insights_missing_host.rb
foreman_rh_cloud-11.0.1 app/models/insights_missing_host.rb
foreman_rh_cloud-11.0.0 app/models/insights_missing_host.rb
foreman_rh_cloud-9.0.58 app/models/insights_missing_host.rb
foreman_rh_cloud-10.0.2 app/models/insights_missing_host.rb
foreman_rh_cloud-9.0.57 app/models/insights_missing_host.rb
foreman_rh_cloud-10.0.1 app/models/insights_missing_host.rb
foreman_rh_cloud-9.0.56 app/models/insights_missing_host.rb
foreman_rh_cloud-9.0.55 app/models/insights_missing_host.rb
foreman_rh_cloud-9.0.54 app/models/insights_missing_host.rb
foreman_rh_cloud-9.0.53 app/models/insights_missing_host.rb
foreman_rh_cloud-9.0.52 app/models/insights_missing_host.rb
foreman_rh_cloud-8.0.52 app/models/insights_missing_host.rb
foreman_rh_cloud-9.0.51 app/models/insights_missing_host.rb
foreman_rh_cloud-8.0.51 app/models/insights_missing_host.rb
foreman_rh_cloud-8.0.50 app/models/insights_missing_host.rb
foreman_rh_cloud-8.0.49 app/models/insights_missing_host.rb
foreman_rh_cloud-8.0.48 app/models/insights_missing_host.rb