diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-05-13 20:01:12 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-05-13 20:01:12 +0000 |
commit | 637cc71296f96fd1d5f2ca83aa7e20c73757f8dd (patch) | |
tree | f3b055bf75d7df6cbabafb24334710071f2ef8ec /lib/puppet/rails/rails_object.rb | |
parent | 9e9ef1acc6231254e52b96257ed1e81475d2d1bc (diff) | |
download | puppet-637cc71296f96fd1d5f2ca83aa7e20c73757f8dd.tar.gz puppet-637cc71296f96fd1d5f2ca83aa7e20c73757f8dd.tar.xz puppet-637cc71296f96fd1d5f2ca83aa7e20c73757f8dd.zip |
I appear to have object collection working, incredibly. This commit does the collection from the database up to adding the objects to the current scope, which is what sends it to the client.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1190 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/rails/rails_object.rb')
-rw-r--r-- | lib/puppet/rails/rails_object.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/rails/rails_object.rb b/lib/puppet/rails/rails_object.rb index 8aa72451b..22d37fca0 100644 --- a/lib/puppet/rails/rails_object.rb +++ b/lib/puppet/rails/rails_object.rb @@ -24,7 +24,7 @@ class Puppet::Rails::RailsObject < ActiveRecord::Base # is collectable, though, since that would cause it to get stripped # from the configuration. def to_trans - obj = Puppet::TransObject.new(name(), ptype()) + obj = Puppet::TransObject.new(ptype(), name()) [:file, :line, :tags].each do |method| if val = send(method) |