Introduction
Introduction Statistics Contact Development Disclaimer Help
fixed bug where new_data is an OrderedHash and does not respond to map! - repor…
Log
Files
Refs
README
---
commit 4bb49b35c74bc87eb43f7c3fb638273ab11da7a3
parent c3fb5b3acc00333cfe3b2b5d61963a15e7859760
Author: Marco Otte-Witte <[email protected]>
Date: Fri, 20 Mar 2009 16:32:02 +0100
fixed bug where new_data is an OrderedHash and does not respond to map!
Diffstat:
M lib/kvlr/reports_as_sparkline/repo… | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/kvlr/reports_as_sparkline/report_cache.rb b/lib/kvlr/reports_a…
@@ -25,7 +25,7 @@ module Kvlr #:nodoc:
private
def self.prepare_result(new_data, cached_data, report, options, cache …
- new_data.map! { |data| [ReportingPeriod.from_db_string(options[:grou…
+ new_data = new_data.map { |data| [ReportingPeriod.from_db_string(opt…
result = cached_data.map { |cached| [cached.reporting_period, cached…
current_reporting_period = ReportingPeriod.new(options[:grouping])
reporting_period = cached_data.empty? ? ReportingPeriod.first(option…
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.