Sha256: 574e09002a7894365dabd0027d07482c7bfc738a64a769447fea7db23900e26a

Contents?: true

Size: 215 Bytes

Versions: 18

Compression:

Stored size: 215 Bytes

Contents

module DiscoveryTaxonomyExtensions
  extend ActiveSupport::Concern
  included do
    has_many :discovered_hosts, :class_name => 'Host::Discovered'
    before_destroy EnsureNotUsedBy.new(:discovered_hosts)
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
foreman_discovery-25.0.0 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-24.0.2 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-23.0.2 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-24.0.1 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-24.0.0 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-23.0.1 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-23.0.0 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-22.0.4 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-21.0.5 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-22.0.2 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-21.0.4 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-21.0.3 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-21.0.2 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-21.0.1 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-21.0.0 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-20.0.1 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-20.0.0 app/models/concerns/discovery_taxonomy_extensions.rb
foreman_discovery-19.0.0 app/models/concerns/discovery_taxonomy_extensions.rb