cache walker in cost_query

git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1134 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
p.tessenow 15 years ago
parent 9018c50673
commit d8ee5c93cc
  1. 2
      app/models/cost_query.rb

@ -14,7 +14,7 @@ class CostQuery < ActiveRecord::Base
end
def walker
CostQuery::Walker.new self
@walker ||= CostQuery::Walker.new self
end
def walk(&block)

Loading…
Cancel
Save