Permalink
Browse files

FIXED: duplicate key error when using custom time zones (thanks to my…

…ronmarston)

Signed-off-by: myronmarston <myron.marston@gmail.com>
  • Loading branch information...
marcoow authored and myronmarston committed May 4, 2009
1 parent 4e4dd0b commit c75d3c75e990c5431ecb94c9dfef97d98dbbb554
Showing with 5 additions and 1 deletion.
  1. +4 −0 HISTORY.rdoc
  2. +1 −1 spec/classes/report_spec.rb
View
@@ -1,3 +1,7 @@
+=== v1.2
+
+* FIXED: duplicate key error when using custom time zones (thanks to myronmarston (http://github.com/myronmarston))
+
=== v1.1
* new :end_date option: if specified, only data for the reporting periods for (end date - (limit - 1)) until (end date) will be included in the result set (thanks to myronmarston (http://github.com/myronmarston) for the great work)
@@ -83,7 +83,7 @@
it 'should not raise a SQL duplicate key error after multiple runs' do
@report = Simplabs::ReportsAsSparkline::Report.new(User, :registrations,
- :limit => 2,
+ :limit => 2,
:grouping => grouping,
:end_date => Date.yesterday.to_datetime
)

0 comments on commit c75d3c7

Please sign in to comment.