From bd337d33dfa77b175208d84a428b48d3dfc71b12 Mon Sep 17 00:00:00 2001 From: jwollert Date: Tue, 7 Dec 2010 18:32:05 +0100 Subject: [PATCH] shouldn't reference Report directly, use engine instead --- app/models/report/result.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/report/result.rb b/app/models/report/result.rb index b41b72b4ac..81e59ba9b2 100644 --- a/app/models/report/result.rb +++ b/app/models/report/result.rb @@ -41,11 +41,11 @@ module Report::Result fields.inject({}) { |hash, key| hash.merge key => entry.fields[key] } end # map group back to array, all fields with same key get grouped into one list - data.keys.map { |f| Report::Result.new data[f], f, type, important_fields } + data.keys.map { |f| engine::Result.new data[f], f, type, important_fields } end end # create a single result from that list - Report::Result.new list, {}, type, important_fields + engine::Result.new list, {}, type, important_fields end def inspect