foreman/app/models/parameters/group_parameter.rb @ acfbc458
086ec942 | Ohad Levy | class GroupParameter < Parameter
|
|
aa1796f3 | Paul Kelly | belongs_to :hostgroup, :foreign_key => :reference_id
|
|
9c864cb6 | Ohad Levy | audited :except => [:priority], :associated_with => :hostgroup, :allow_mass_assignment => true
|
|
f2c78d4a | Joseph Magen | validates :name, :uniqueness => {:scope => :reference_id}
|
|
9fd7478e | Paul Kelly | ||
086ec942 | Ohad Levy | end
|