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