Sha256: 8fd7a224a10bee927203bde65d7f5625f433b20a9ddb8c5cf0a6d10a099f677e

Contents?: true

Size: 245 Bytes

Versions: 5

Compression:

Stored size: 245 Bytes

Contents

module ForemanHostReports
  module SmartProxyExtensions
    extend ActiveSupport::Concern

    included do
      has_many :host_reports, foreign_key: :proxy_id, class_name: 'HostReport', inverse_of: :proxy, dependent: :destroy
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_host_reports-1.0.2 app/models/concerns/foreman_host_reports/smart_proxy_extensions.rb
foreman_host_reports-1.0.1 app/models/concerns/foreman_host_reports/smart_proxy_extensions.rb
foreman_host_reports-1.0.0 app/models/concerns/foreman_host_reports/smart_proxy_extensions.rb
foreman_host_reports-0.0.4 app/models/concerns/foreman_host_reports/smart_proxy_extensions.rb
foreman_host_reports-0.0.3 app/models/concerns/foreman_host_reports/smart_proxy_extensions.rb