Sha256: 6eb49b442af0d00f9e6418d0038b04a34dec5377ab30cd88c727a7800ae92bce
Contents?: true
Size: 382 Bytes
Versions: 48
Compression:
Stored size: 382 Bytes
Contents
module ForemanPuppet class HostConfigGroup < ApplicationRecord self.table_name = 'host_config_groups' include Authorizable audited associated_with: :host belongs_to :host, polymorphic: true belongs_to :config_group validates :host_id, uniqueness: { scope: %i[config_group_id host_type] } def check_permissions_after_save true end end end
Version data entries
48 entries across 48 versions & 1 rubygems