Sha256: 8bf7921b4d17ed4c47b5d7b7704af97fe11ec1195cbb77a37d42744c83787eb3
Contents?: true
Size: 543 Bytes
Versions: 177
Compression:
Stored size: 543 Bytes
Contents
module Katello class ErratumPackage < Katello::Model belongs_to :erratum, :inverse_of => :packages, :class_name => 'Katello::Erratum' has_many :module_stream_errata_packages, class_name: "Katello::ModuleStreamErratumPackage", dependent: :destroy, inverse_of: :erratum_package has_many :module_streams, class_name: "Katello::ModuleStream", :through => :module_stream_errata_packages def self.non_module_stream_packages where.not(:id => Katello::ModuleStreamErratumPackage.select(:erratum_package_id)) end end end
Version data entries
177 entries across 177 versions & 1 rubygems