ActiveRecord::Base
# File lib/puppet/rails/inventory_node.rb, line 38 def facts_to_hash facts.inject({}) do |fact_hash,fact| fact_hash.merge(fact.name => fact.value) end end