summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/host.rb
diff options
context:
space:
mode:
authorBlake Barnett <bdb@bdb-debvm1.stanford.edu>2008-02-28 22:55:55 -0800
committerBlake Barnett <bdb@bdb-debvm1.stanford.edu>2008-02-28 22:55:55 -0800
commit9b07758e02fc7347cc4a39ca17fc76a3f95d584f (patch)
tree21f0e2612029b55603ac217334ec3d1369c68096 /lib/puppet/rails/host.rb
parent5d3dd9e718cbe69b2fe7f37bc3ec422c88a1080b (diff)
downloadpuppet-9b07758e02fc7347cc4a39ca17fc76a3f95d584f.tar.gz
puppet-9b07758e02fc7347cc4a39ca17fc76a3f95d584f.tar.xz
puppet-9b07758e02fc7347cc4a39ca17fc76a3f95d584f.zip
* Tweaks for puppetshow UI cleanup
Diffstat (limited to 'lib/puppet/rails/host.rb')
-rw-r--r--lib/puppet/rails/host.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/puppet/rails/host.rb b/lib/puppet/rails/host.rb
index 72898fd97..626edaa88 100644
--- a/lib/puppet/rails/host.rb
+++ b/lib/puppet/rails/host.rb
@@ -11,8 +11,7 @@ class Puppet::Rails::Host < ActiveRecord::Base
has_many :fact_values, :dependent => :destroy
has_many :fact_names, :through => :fact_values
- belongs_to :puppet_classes
- has_many :source_files
+ belongs_to :source_file
has_many :resources,
:include => :param_values,
:dependent => :destroy