Sha256: bda46239dee0b78adaae5612a75535b4a168a979578390c31472071399f8e48e
Contents?: true
Size: 476 Bytes
Versions: 77
Compression:
Stored size: 476 Bytes
Contents
module RhCloudHost extend ActiveSupport::Concern included do has_many( :inventory_upload_facts, -> { where(fact_name_id: ForemanInventoryUpload::Generators::Queries.fact_names.values) }, class_name: 'FactValue', foreign_key: :host_id ) has_many :insights_hits, through: :insights, source: :hits scoped_search :relation => :insights, :on => :hits_count, :only_explicit => true, :rename => :insights_recommendations_count end end
Version data entries
77 entries across 77 versions & 1 rubygems