1 2 3 4 5 6
class Puppet::Rails::PuppetClass < ActiveRecord::Base has_many :resources has_many :source_files has_many :hosts end