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

Version Path
katello-4.14.2 app/models/katello/erratum_package.rb
katello-4.15.0 app/models/katello/erratum_package.rb
katello-4.15.0.rc2 app/models/katello/erratum_package.rb
katello-4.15.0.rc1 app/models/katello/erratum_package.rb
katello-4.14.1 app/models/katello/erratum_package.rb
katello-4.14.0 app/models/katello/erratum_package.rb
katello-4.14.0.rc3 app/models/katello/erratum_package.rb
katello-4.14.0.rc2 app/models/katello/erratum_package.rb
katello-4.14.0.rc1.1 app/models/katello/erratum_package.rb
katello-4.14.0.rc1 app/models/katello/erratum_package.rb
katello-4.13.1 app/models/katello/erratum_package.rb
katello-4.13.0 app/models/katello/erratum_package.rb
katello-4.12.1 app/models/katello/erratum_package.rb
katello-4.13.0.rc1 app/models/katello/erratum_package.rb
katello-4.12.0 app/models/katello/erratum_package.rb
katello-4.12.0.rc3 app/models/katello/erratum_package.rb
katello-4.12.0.rc2 app/models/katello/erratum_package.rb
katello-4.12.0.rc1 app/models/katello/erratum_package.rb
katello-4.11.1 app/models/katello/erratum_package.rb
katello-4.11.0 app/models/katello/erratum_package.rb