Project

General

Profile

Download (248 Bytes) Statistics
| Branch: | Tag: | Revision:
class HostgroupClass < ActiveRecord::Base
audited :associated_with => :hostgroup
belongs_to :hostgroup
belongs_to :puppetclass

validates_presence_of :hostgroup_id, :puppetclass_id

def name
"#{hostgroup} - #{puppetclass}"
end

end
(33-33/80)