Revision 0f7676c1
Added by Amos Benari almost 12 years ago
- ID 0f7676c17d491ecb8d2df267c0128549d7e3c94f
app/models/group_parameter.rb | ||
---|---|---|
class GroupParameter < Parameter
|
||
belongs_to :hostgroup, :foreign_key => :reference_id
|
||
audited :except => [:priority], :parent => :hostgroup
|
||
audited :except => [:priority], :associated_with => :hostgroup
|
||
validates_uniqueness_of :name, :scope => :reference_id
|
||
|
||
private
|
Also available in: Unified diff
audit with association.