report_cat 5.0.0 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -34661,3 +34661,2405 @@ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
34661
34661
   (0.0ms) rollback transaction
34662
34662
   (0.1ms) begin transaction
34663
34663
   (0.0ms) rollback transaction
34664
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
34665
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
34666
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
34667
+  (0.1ms) SELECT sqlite_version(*)
34668
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
34669
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
34670
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
34671
+ Migrating to CreateDateRanges (20130918075200)
34672
+  (0.1ms) begin transaction
34673
+  (0.7ms) CREATE TABLE "report_cat_date_ranges" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_date" date, "stop_date" date, "period" varchar)
34674
+  (0.1ms) CREATE UNIQUE INDEX "index_report_cat_date_ranges_on_period_and_start_date" ON "report_cat_date_ranges" ("period", "start_date")
34675
+  (0.1ms)  SELECT sql
34676
+ FROM sqlite_master
34677
+ WHERE name='index_report_cat_date_ranges_on_period_and_start_date' AND type='index'
34678
+ UNION ALL
34679
+ SELECT sql
34680
+ FROM sqlite_temp_master
34681
+ WHERE name='index_report_cat_date_ranges_on_period_and_start_date' AND type='index'
34682
+ 
34683
+  (0.1ms) CREATE UNIQUE INDEX "index_report_cat_date_ranges_on_period_and_stop_date" ON "report_cat_date_ranges" ("period", "stop_date")
34684
+  (0.0ms)  SELECT sql
34685
+ FROM sqlite_master
34686
+ WHERE name='index_report_cat_date_ranges_on_period_and_stop_date' AND type='index'
34687
+ UNION ALL
34688
+ SELECT sql
34689
+ FROM sqlite_temp_master
34690
+ WHERE name='index_report_cat_date_ranges_on_period_and_stop_date' AND type='index'
34691
+ 
34692
+  (0.0ms)  SELECT sql
34693
+ FROM sqlite_master
34694
+ WHERE name='index_report_cat_date_ranges_on_period_and_start_date' AND type='index'
34695
+ UNION ALL
34696
+ SELECT sql
34697
+ FROM sqlite_temp_master
34698
+ WHERE name='index_report_cat_date_ranges_on_period_and_start_date' AND type='index'
34699
+ 
34700
+  (0.1ms) CREATE UNIQUE INDEX "index_report_cat_date_ranges_on_period_and_dates" ON "report_cat_date_ranges" ("period", "start_date", "stop_date")
34701
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130918075200"]]
34702
+  (1.1ms) commit transaction
34703
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
34704
+  (0.1ms) begin transaction
34705
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-09-19 23:46:58.348938"], ["updated_at", "2017-09-19 23:46:58.348938"]]
34706
+  (1.1ms) commit transaction
34707
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
34708
+  (0.1ms)  SELECT sql
34709
+ FROM sqlite_master
34710
+ WHERE name='index_report_cat_date_ranges_on_period_and_dates' AND type='index'
34711
+ UNION ALL
34712
+ SELECT sql
34713
+ FROM sqlite_temp_master
34714
+ WHERE name='index_report_cat_date_ranges_on_period_and_dates' AND type='index'
34715
+ 
34716
+  (0.1ms)  SELECT sql
34717
+ FROM sqlite_master
34718
+ WHERE name='index_report_cat_date_ranges_on_period_and_stop_date' AND type='index'
34719
+ UNION ALL
34720
+ SELECT sql
34721
+ FROM sqlite_temp_master
34722
+ WHERE name='index_report_cat_date_ranges_on_period_and_stop_date' AND type='index'
34723
+ 
34724
+  (0.1ms)  SELECT sql
34725
+ FROM sqlite_master
34726
+ WHERE name='index_report_cat_date_ranges_on_period_and_start_date' AND type='index'
34727
+ UNION ALL
34728
+ SELECT sql
34729
+ FROM sqlite_temp_master
34730
+ WHERE name='index_report_cat_date_ranges_on_period_and_start_date' AND type='index'
34731
+ 
34732
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
34733
+  (0.1ms) begin transaction
34734
+  (0.0ms) rollback transaction
34735
+  (0.0ms) begin transaction
34736
+  (0.0ms) rollback transaction
34737
+  (0.0ms) begin transaction
34738
+  (0.0ms) rollback transaction
34739
+  (0.0ms) begin transaction
34740
+  (0.1ms) rollback transaction
34741
+  (0.1ms) begin transaction
34742
+  (0.1ms) rollback transaction
34743
+  (0.1ms) begin transaction
34744
+  (0.1ms) rollback transaction
34745
+  (0.1ms) begin transaction
34746
+  (0.1ms) rollback transaction
34747
+  (0.1ms) begin transaction
34748
+  (0.1ms) rollback transaction
34749
+  (0.1ms) begin transaction
34750
+  (0.1ms) rollback transaction
34751
+  (0.1ms) begin transaction
34752
+  (0.0ms) rollback transaction
34753
+  (0.1ms) begin transaction
34754
+  (0.0ms) rollback transaction
34755
+  (0.1ms) begin transaction
34756
+  (0.0ms) rollback transaction
34757
+  (0.0ms) begin transaction
34758
+  (0.1ms) rollback transaction
34759
+  (0.0ms) begin transaction
34760
+  (0.0ms) rollback transaction
34761
+  (0.1ms) begin transaction
34762
+  (0.1ms) rollback transaction
34763
+  (0.1ms) begin transaction
34764
+  (0.1ms) rollback transaction
34765
+  (0.1ms) begin transaction
34766
+  (0.1ms) rollback transaction
34767
+  (0.1ms) begin transaction
34768
+  (0.1ms) rollback transaction
34769
+  (0.1ms) begin transaction
34770
+  (0.0ms) rollback transaction
34771
+  (0.0ms) begin transaction
34772
+  (0.0ms) rollback transaction
34773
+  (0.1ms) begin transaction
34774
+  (0.0ms) rollback transaction
34775
+  (0.0ms) begin transaction
34776
+  (0.0ms) rollback transaction
34777
+  (0.1ms) begin transaction
34778
+  (0.0ms) rollback transaction
34779
+  (0.0ms) begin transaction
34780
+  (0.0ms) rollback transaction
34781
+  (0.1ms) begin transaction
34782
+  (0.1ms) rollback transaction
34783
+  (0.1ms) begin transaction
34784
+  (0.1ms) rollback transaction
34785
+  (0.0ms) begin transaction
34786
+  (0.0ms) rollback transaction
34787
+  (0.0ms) begin transaction
34788
+  (0.6ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date from report_cat_date_ranges where (
34789
+ report_cat_date_ranges.start_date between '2013-09-01' and '2013-09-18'
34790
+ or
34791
+ '2013-09-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
34792
+ )
34793
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
34794
+  (0.1ms) rollback transaction
34795
+  (0.2ms) begin transaction
34796
+ ReportCat::DateRange Load (0.3ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
34797
+ report_cat_date_ranges.start_date between '2013-09-01' and '2013-09-18'
34798
+ or
34799
+ '2013-09-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
34800
+ )
34801
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
34802
+  (0.2ms) SAVEPOINT active_record_1
34803
+ SQL (1.6ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-08-26"], ["stop_date", "2013-09-01"], ["period", "weekly"]]
34804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34805
+  (0.1ms) SAVEPOINT active_record_1
34806
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-02"], ["stop_date", "2013-09-08"], ["period", "weekly"]]
34807
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34808
+  (0.2ms) SAVEPOINT active_record_1
34809
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-09"], ["stop_date", "2013-09-15"], ["period", "weekly"]]
34810
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34811
+  (0.1ms) SAVEPOINT active_record_1
34812
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-16"], ["stop_date", "2013-09-22"], ["period", "weekly"]]
34813
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34814
+  (0.2ms) select 1
34815
+  (1.1ms) rollback transaction
34816
+  (0.1ms) begin transaction
34817
+ ReportCat::DateRange Load (0.4ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
34818
+ report_cat_date_ranges.start_date between '2013-09-01' and '2013-09-18'
34819
+ or
34820
+ '2013-09-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
34821
+ )
34822
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
34823
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
34824
+ report_cat_date_ranges.start_date between '2013-09-01' and '2013-09-18'
34825
+ or
34826
+ '2013-09-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
34827
+ )
34828
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
34829
+  (0.1ms) rollback transaction
34830
+  (0.1ms) begin transaction
34831
+  (0.1ms) rollback transaction
34832
+  (0.1ms) begin transaction
34833
+  (0.1ms) rollback transaction
34834
+  (0.1ms) begin transaction
34835
+  (0.1ms) rollback transaction
34836
+  (0.1ms) begin transaction
34837
+  (0.0ms) rollback transaction
34838
+  (0.1ms) begin transaction
34839
+  (0.0ms) rollback transaction
34840
+  (0.1ms) begin transaction
34841
+  (0.1ms) rollback transaction
34842
+  (0.1ms) begin transaction
34843
+  (0.2ms) rollback transaction
34844
+  (0.1ms) begin transaction
34845
+  (0.1ms) rollback transaction
34846
+  (0.1ms) begin transaction
34847
+  (0.1ms) rollback transaction
34848
+  (0.1ms) begin transaction
34849
+  (0.1ms) rollback transaction
34850
+  (0.2ms) begin transaction
34851
+  (0.1ms) rollback transaction
34852
+  (0.1ms) begin transaction
34853
+  (0.1ms) rollback transaction
34854
+  (0.1ms) begin transaction
34855
+  (0.2ms) rollback transaction
34856
+  (0.1ms) begin transaction
34857
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb
34858
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/_google_charts.html.erb (0.8ms)
34859
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb (44.2ms)
34860
+  (0.1ms) rollback transaction
34861
+  (0.0ms) begin transaction
34862
+  (0.0ms) rollback transaction
34863
+  (0.0ms) begin transaction
34864
+  (0.1ms) rollback transaction
34865
+  (0.1ms) begin transaction
34866
+  (0.3ms) rollback transaction
34867
+  (0.1ms) begin transaction
34868
+  (0.1ms) rollback transaction
34869
+  (0.3ms) begin transaction
34870
+  (0.1ms) rollback transaction
34871
+  (0.1ms) begin transaction
34872
+ Processing by ReportCat::ReportsController#index as HTML
34873
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin
34874
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
34875
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin (0.4ms)
34876
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
34877
+ Completed 200 OK in 14ms (Views: 4.8ms | ActiveRecord: 0.0ms)
34878
+  (0.2ms) rollback transaction
34879
+  (0.1ms) begin transaction
34880
+ Processing by ReportCat::ReportsController#index as HTML
34881
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin
34882
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin (0.2ms)
34883
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.0ms)
34884
+  (0.2ms) rollback transaction
34885
+  (0.1ms) begin transaction
34886
+ Processing by ReportCat::ReportsController#index as HTML
34887
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin
34888
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin (0.1ms)
34889
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
34890
+  (0.1ms) rollback transaction
34891
+  (0.1ms) begin transaction
34892
+ Processing by ReportCat::ReportsController#show as HTML
34893
+ Parameters: {"id"=>"test"}
34894
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin
34895
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
34896
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin (0.5ms)
34897
+ Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 0.0ms)
34898
+  (0.2ms) rollback transaction
34899
+  (0.1ms) begin transaction
34900
+ Processing by ReportCat::ReportsController#show as HTML
34901
+ Parameters: {"id"=>"test"}
34902
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin
34903
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin (0.1ms)
34904
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
34905
+  (0.1ms) rollback transaction
34906
+  (0.2ms) begin transaction
34907
+ Processing by ReportCat::ReportsController#show as CSV
34908
+ Parameters: {"id"=>"test"}
34909
+ Rendering text template
34910
+ Rendered text template (0.1ms)
34911
+ Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.0ms)
34912
+  (0.1ms) rollback transaction
34913
+  (0.1ms) begin transaction
34914
+ Processing by ReportCat::ReportsController#show as HTML
34915
+ Parameters: {"id"=>"test"}
34916
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin
34917
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin (0.1ms)
34918
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
34919
+  (0.3ms) rollback transaction
34920
+  (0.3ms) begin transaction
34921
+  (0.1ms) rollback transaction
34922
+  (0.1ms) begin transaction
34923
+  (0.1ms) rollback transaction
34924
+  (0.1ms) begin transaction
34925
+  (0.1ms) rollback transaction
34926
+  (0.3ms) begin transaction
34927
+  (0.2ms) rollback transaction
34928
+  (0.2ms) begin transaction
34929
+  (0.1ms) rollback transaction
34930
+  (0.2ms) begin transaction
34931
+ ReportCat::DateRange Load (0.7ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
34932
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
34933
+ or
34934
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
34935
+ )
34936
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
34937
+  (0.1ms) SAVEPOINT active_record_1
34938
+ SQL (0.6ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
34939
+  (0.5ms) RELEASE SAVEPOINT active_record_1
34940
+  (0.4ms) SAVEPOINT active_record_1
34941
+ SQL (0.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
34942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34943
+  (0.1ms) SAVEPOINT active_record_1
34944
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
34945
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34946
+  (0.3ms) SAVEPOINT active_record_1
34947
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
34948
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34949
+  (0.4ms) SAVEPOINT active_record_1
34950
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
34951
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34952
+ ReportCat::DateRange Load (0.4ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
34953
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
34954
+ or
34955
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
34956
+ )
34957
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
34958
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
34959
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
34960
+ or
34961
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
34962
+ )
34963
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
34964
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
34965
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
34966
+ or
34967
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
34968
+ )
34969
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
34970
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
34971
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
34972
+ or
34973
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
34974
+ )
34975
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
34976
+  (0.5ms) rollback transaction
34977
+  (0.1ms) begin transaction
34978
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
34979
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
34980
+ or
34981
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
34982
+ )
34983
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
34984
+  (0.1ms) SAVEPOINT active_record_1
34985
+ SQL (0.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
34986
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34987
+  (0.1ms) SAVEPOINT active_record_1
34988
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
34989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34990
+  (0.1ms) SAVEPOINT active_record_1
34991
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
34992
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34993
+  (0.1ms) SAVEPOINT active_record_1
34994
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
34995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34996
+  (0.1ms) SAVEPOINT active_record_1
34997
+ SQL (0.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
34998
+  (0.4ms) RELEASE SAVEPOINT active_record_1
34999
+ ReportCat::DateRange Load (0.3ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35000
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35001
+ or
35002
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35003
+ )
35004
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
35005
+ ReportCat::DateRange Load (0.5ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35006
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35007
+ or
35008
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35009
+ )
35010
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35011
+  (0.5ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35012
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35013
+ or
35014
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35015
+ )
35016
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35017
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35018
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35019
+ or
35020
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35021
+ )
35022
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35023
+  (1.4ms) rollback transaction
35024
+  (0.1ms) begin transaction
35025
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35026
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35027
+ or
35028
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35029
+ )
35030
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35031
+  (0.1ms) SAVEPOINT active_record_1
35032
+ SQL (0.4ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
35033
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35034
+  (0.1ms) SAVEPOINT active_record_1
35035
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
35036
+  (0.7ms) RELEASE SAVEPOINT active_record_1
35037
+  (0.3ms) SAVEPOINT active_record_1
35038
+ SQL (0.5ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
35039
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35040
+  (0.1ms) SAVEPOINT active_record_1
35041
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
35042
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35043
+  (0.1ms) SAVEPOINT active_record_1
35044
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
35045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35046
+ ReportCat::DateRange Load (0.6ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35047
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35048
+ or
35049
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35050
+ )
35051
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
35052
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35053
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35054
+ or
35055
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35056
+ )
35057
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35058
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35059
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35060
+ or
35061
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35062
+ )
35063
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35064
+ ReportCat::DateRange Load (0.6ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35065
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35066
+ or
35067
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35068
+ )
35069
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35070
+  (1.0ms) rollback transaction
35071
+  (0.1ms) begin transaction
35072
+ ReportCat::DateRange Load (0.3ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35073
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35074
+ or
35075
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35076
+ )
35077
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35078
+  (0.1ms) SAVEPOINT active_record_1
35079
+ SQL (0.4ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
35080
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35081
+  (0.1ms) SAVEPOINT active_record_1
35082
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
35083
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35084
+  (0.1ms) SAVEPOINT active_record_1
35085
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
35086
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35087
+  (0.2ms) SAVEPOINT active_record_1
35088
+ SQL (0.5ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
35089
+  (0.5ms) RELEASE SAVEPOINT active_record_1
35090
+  (0.3ms) SAVEPOINT active_record_1
35091
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
35092
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35093
+ ReportCat::DateRange Load (0.3ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35094
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35095
+ or
35096
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35097
+ )
35098
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
35099
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35100
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35101
+ or
35102
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35103
+ )
35104
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35105
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35106
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35107
+ or
35108
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35109
+ )
35110
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35111
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35112
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35113
+ or
35114
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35115
+ )
35116
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35117
+  (0.5ms) rollback transaction
35118
+  (0.0ms) begin transaction
35119
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35120
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35121
+ or
35122
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35123
+ )
35124
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35125
+  (0.1ms) SAVEPOINT active_record_1
35126
+ SQL (0.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
35127
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35128
+  (0.1ms) SAVEPOINT active_record_1
35129
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
35130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35131
+  (0.1ms) SAVEPOINT active_record_1
35132
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
35133
+  (0.4ms) RELEASE SAVEPOINT active_record_1
35134
+  (0.1ms) SAVEPOINT active_record_1
35135
+ SQL (0.6ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
35136
+  (0.4ms) RELEASE SAVEPOINT active_record_1
35137
+  (0.1ms) SAVEPOINT active_record_1
35138
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
35139
+  (0.2ms) RELEASE SAVEPOINT active_record_1
35140
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35141
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35142
+ or
35143
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35144
+ )
35145
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
35146
+ ReportCat::DateRange Load (0.5ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35147
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35148
+ or
35149
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35150
+ )
35151
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35152
+  (0.3ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35153
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35154
+ or
35155
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35156
+ )
35157
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35158
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35159
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35160
+ or
35161
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35162
+ )
35163
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35164
+  (0.7ms) rollback transaction
35165
+  (0.1ms) begin transaction
35166
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35167
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35168
+ or
35169
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35170
+ )
35171
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35172
+  (0.1ms) SAVEPOINT active_record_1
35173
+ SQL (0.4ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
35174
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35175
+  (0.1ms) SAVEPOINT active_record_1
35176
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
35177
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35178
+  (0.1ms) SAVEPOINT active_record_1
35179
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
35180
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35181
+  (0.1ms) SAVEPOINT active_record_1
35182
+ SQL (0.5ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
35183
+  (0.5ms) RELEASE SAVEPOINT active_record_1
35184
+  (0.4ms) SAVEPOINT active_record_1
35185
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
35186
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35187
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35188
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35189
+ or
35190
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35191
+ )
35192
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
35193
+ ReportCat::DateRange Load (0.6ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35194
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35195
+ or
35196
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35197
+ )
35198
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35199
+  (0.6ms) rollback transaction
35200
+  (0.1ms) begin transaction
35201
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35202
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35203
+ or
35204
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35205
+ )
35206
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35207
+  (0.1ms) SAVEPOINT active_record_1
35208
+ SQL (0.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
35209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35210
+  (0.1ms) SAVEPOINT active_record_1
35211
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
35212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35213
+  (0.1ms) SAVEPOINT active_record_1
35214
+ SQL (0.5ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
35215
+  (0.2ms) RELEASE SAVEPOINT active_record_1
35216
+  (0.3ms) SAVEPOINT active_record_1
35217
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
35218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35219
+  (0.2ms) SAVEPOINT active_record_1
35220
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
35221
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35222
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35223
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35224
+ or
35225
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35226
+ )
35227
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
35228
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35229
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35230
+ or
35231
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35232
+ )
35233
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35234
+  (0.3ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35235
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35236
+ or
35237
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35238
+ )
35239
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35240
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35241
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35242
+ or
35243
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35244
+ )
35245
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35246
+  (0.6ms) rollback transaction
35247
+  (0.1ms) begin transaction
35248
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35249
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35250
+ or
35251
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35252
+ )
35253
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35254
+  (0.1ms) SAVEPOINT active_record_1
35255
+ SQL (0.4ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
35256
+  (0.2ms) RELEASE SAVEPOINT active_record_1
35257
+  (0.3ms) SAVEPOINT active_record_1
35258
+ SQL (0.6ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
35259
+  (0.3ms) RELEASE SAVEPOINT active_record_1
35260
+  (0.1ms) SAVEPOINT active_record_1
35261
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
35262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35263
+  (0.1ms) SAVEPOINT active_record_1
35264
+ SQL (0.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
35265
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35266
+  (0.4ms) SAVEPOINT active_record_1
35267
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
35268
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35269
+ ReportCat::DateRange Load (0.4ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35270
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35271
+ or
35272
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35273
+ )
35274
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35275
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35276
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35277
+ or
35278
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35279
+ )
35280
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35281
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35282
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35283
+ or
35284
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35285
+ )
35286
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35287
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35288
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
35289
+ or
35290
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35291
+ )
35292
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35293
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35294
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
35295
+ or
35296
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35297
+ )
35298
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35299
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35300
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
35301
+ or
35302
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35303
+ )
35304
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35305
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35306
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
35307
+ or
35308
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35309
+ )
35310
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35311
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35312
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
35313
+ or
35314
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35315
+ )
35316
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35317
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35318
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
35319
+ or
35320
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35321
+ )
35322
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35323
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35324
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
35325
+ or
35326
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35327
+ )
35328
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35329
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35330
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
35331
+ or
35332
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35333
+ )
35334
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35335
+  (0.7ms) rollback transaction
35336
+  (0.1ms) begin transaction
35337
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35338
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35339
+ or
35340
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35341
+ )
35342
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35343
+  (0.1ms) SAVEPOINT active_record_1
35344
+ SQL (0.4ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
35345
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35346
+  (0.1ms) SAVEPOINT active_record_1
35347
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
35348
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35349
+  (0.3ms) SAVEPOINT active_record_1
35350
+ SQL (0.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
35351
+  (0.3ms) RELEASE SAVEPOINT active_record_1
35352
+  (0.1ms) SAVEPOINT active_record_1
35353
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
35354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35355
+  (0.1ms) SAVEPOINT active_record_1
35356
+ SQL (0.6ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
35357
+  (0.3ms) RELEASE SAVEPOINT active_record_1
35358
+ ReportCat::DateRange Load (0.3ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35359
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35360
+ or
35361
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35362
+ )
35363
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35364
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35365
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35366
+ or
35367
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35368
+ )
35369
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35370
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35371
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35372
+ or
35373
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35374
+ )
35375
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35376
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35377
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
35378
+ or
35379
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35380
+ )
35381
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35382
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35383
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
35384
+ or
35385
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35386
+ )
35387
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35388
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35389
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
35390
+ or
35391
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35392
+ )
35393
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35394
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35395
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
35396
+ or
35397
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35398
+ )
35399
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35400
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35401
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
35402
+ or
35403
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35404
+ )
35405
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35406
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35407
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
35408
+ or
35409
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35410
+ )
35411
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35412
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35413
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
35414
+ or
35415
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35416
+ )
35417
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35418
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35419
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
35420
+ or
35421
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35422
+ )
35423
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35424
+  (0.1ms) SELECT COUNT(*) FROM "report_cat_date_ranges" WHERE ( (
35425
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35426
+ or
35427
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35428
+ )
35429
+ and report_cat_date_ranges.period = 'weekly')
35430
+  (0.6ms) rollback transaction
35431
+  (0.1ms) begin transaction
35432
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35433
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35434
+ or
35435
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35436
+ )
35437
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35438
+  (0.1ms) SAVEPOINT active_record_1
35439
+ SQL (0.4ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
35440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35441
+  (0.1ms) SAVEPOINT active_record_1
35442
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
35443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35444
+  (0.0ms) SAVEPOINT active_record_1
35445
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
35446
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35447
+  (0.1ms) SAVEPOINT active_record_1
35448
+ SQL (0.5ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
35449
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35450
+  (0.3ms) SAVEPOINT active_record_1
35451
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
35452
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35453
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35454
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35455
+ or
35456
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35457
+ )
35458
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35459
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35460
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35461
+ or
35462
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35463
+ )
35464
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35465
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35466
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35467
+ or
35468
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35469
+ )
35470
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35471
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35472
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
35473
+ or
35474
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35475
+ )
35476
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35477
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35478
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
35479
+ or
35480
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35481
+ )
35482
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35483
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35484
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
35485
+ or
35486
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35487
+ )
35488
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35489
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35490
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
35491
+ or
35492
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35493
+ )
35494
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35495
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35496
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
35497
+ or
35498
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35499
+ )
35500
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35501
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35502
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
35503
+ or
35504
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35505
+ )
35506
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35507
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35508
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
35509
+ or
35510
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35511
+ )
35512
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35513
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35514
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
35515
+ or
35516
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35517
+ )
35518
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35519
+  (0.8ms) rollback transaction
35520
+  (0.0ms) begin transaction
35521
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35522
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35523
+ or
35524
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35525
+ )
35526
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35527
+  (0.1ms) SAVEPOINT active_record_1
35528
+ SQL (0.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
35529
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35530
+  (0.0ms) SAVEPOINT active_record_1
35531
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
35532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35533
+  (0.1ms) SAVEPOINT active_record_1
35534
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
35535
+  (0.3ms) RELEASE SAVEPOINT active_record_1
35536
+  (0.2ms) SAVEPOINT active_record_1
35537
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
35538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35539
+  (0.4ms) SAVEPOINT active_record_1
35540
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
35541
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35542
+ ReportCat::DateRange Load (0.7ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35543
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35544
+ or
35545
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35546
+ )
35547
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35548
+ ReportCat::DateRange Load (0.4ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35549
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35550
+ or
35551
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35552
+ )
35553
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35554
+  (0.3ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35555
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35556
+ or
35557
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35558
+ )
35559
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35560
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35561
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
35562
+ or
35563
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35564
+ )
35565
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35566
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35567
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
35568
+ or
35569
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35570
+ )
35571
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35572
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35573
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
35574
+ or
35575
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35576
+ )
35577
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35578
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35579
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
35580
+ or
35581
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35582
+ )
35583
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35584
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35585
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
35586
+ or
35587
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35588
+ )
35589
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35590
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35591
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
35592
+ or
35593
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35594
+ )
35595
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35596
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35597
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
35598
+ or
35599
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35600
+ )
35601
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35602
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35603
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
35604
+ or
35605
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35606
+ )
35607
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35608
+  (0.1ms) SELECT COUNT(*) FROM "report_cat_date_ranges" WHERE ( (
35609
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35610
+ or
35611
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35612
+ )
35613
+ and report_cat_date_ranges.period = 'weekly')
35614
+  (0.6ms) rollback transaction
35615
+  (0.0ms) begin transaction
35616
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35617
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35618
+ or
35619
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35620
+ )
35621
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35622
+  (0.1ms) SAVEPOINT active_record_1
35623
+ SQL (0.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
35624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35625
+  (0.0ms) SAVEPOINT active_record_1
35626
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
35627
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35628
+  (0.0ms) SAVEPOINT active_record_1
35629
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
35630
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35631
+  (0.0ms) SAVEPOINT active_record_1
35632
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
35633
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35634
+  (0.0ms) SAVEPOINT active_record_1
35635
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
35636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35637
+ ReportCat::DateRange Load (0.5ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35638
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35639
+ or
35640
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35641
+ )
35642
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
35643
+  (0.5ms) rollback transaction
35644
+  (0.2ms) begin transaction
35645
+ ReportCat::DateRange Load (0.3ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35646
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35647
+ or
35648
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35649
+ )
35650
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35651
+  (0.5ms) SAVEPOINT active_record_1
35652
+ SQL (0.5ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
35653
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35654
+  (0.1ms) SAVEPOINT active_record_1
35655
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
35656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35657
+  (0.1ms) SAVEPOINT active_record_1
35658
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
35659
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35660
+  (0.0ms) SAVEPOINT active_record_1
35661
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
35662
+  (0.0ms) RELEASE SAVEPOINT active_record_1
35663
+  (0.0ms) SAVEPOINT active_record_1
35664
+ SQL (0.5ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
35665
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35666
+ ReportCat::DateRange Load (0.7ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35667
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
35668
+ or
35669
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35670
+ )
35671
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
35672
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35673
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35674
+ or
35675
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35676
+ )
35677
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
35678
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
35679
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
35680
+ or
35681
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35682
+ )
35683
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
35684
+  (0.6ms) rollback transaction
35685
+  (0.0ms) begin transaction
35686
+  (0.0ms) rollback transaction
35687
+  (0.0ms) begin transaction
35688
+  (0.0ms) rollback transaction
35689
+  (0.1ms) begin transaction
35690
+  (0.1ms) rollback transaction
35691
+  (0.1ms) begin transaction
35692
+  (0.0ms) rollback transaction
35693
+  (0.0ms) begin transaction
35694
+  (0.3ms) rollback transaction
35695
+  (0.1ms) begin transaction
35696
+  (0.3ms) rollback transaction
35697
+  (0.1ms) begin transaction
35698
+  (0.1ms) rollback transaction
35699
+  (0.1ms) begin transaction
35700
+  (0.1ms) rollback transaction
35701
+  (0.1ms) begin transaction
35702
+  (0.2ms) rollback transaction
35703
+  (0.2ms) begin transaction
35704
+  (0.1ms) rollback transaction
35705
+  (0.3ms) begin transaction
35706
+  (0.1ms) rollback transaction
35707
+  (0.2ms) begin transaction
35708
+  (0.1ms) rollback transaction
35709
+  (0.3ms) begin transaction
35710
+  (0.4ms) rollback transaction
35711
+  (0.2ms) begin transaction
35712
+  (0.3ms) rollback transaction
35713
+  (0.1ms) begin transaction
35714
+  (0.4ms) rollback transaction
35715
+  (0.1ms) begin transaction
35716
+  (0.4ms) rollback transaction
35717
+  (0.2ms) begin transaction
35718
+  (0.2ms) rollback transaction
35719
+  (0.1ms) begin transaction
35720
+  (0.3ms) rollback transaction
35721
+  (0.1ms) begin transaction
35722
+  (0.2ms) rollback transaction
35723
+  (0.3ms) begin transaction
35724
+ ReportCat::DateRange Load (0.6ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35725
+ report_cat_date_ranges.start_date between '2013-09-15' and '2013-09-18'
35726
+ or
35727
+ '2013-09-15' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35728
+ )
35729
+ and report_cat_date_ranges.period = 'daily') ORDER BY report_cat_date_ranges.start_date asc
35730
+  (0.1ms) rollback transaction
35731
+  (0.1ms) begin transaction
35732
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35733
+ report_cat_date_ranges.start_date between '2013-09-15' and '2013-09-18'
35734
+ or
35735
+ '2013-09-15' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35736
+ )
35737
+ and report_cat_date_ranges.period = 'daily') ORDER BY report_cat_date_ranges.start_date asc
35738
+  (0.1ms) SAVEPOINT active_record_1
35739
+ SQL (1.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-15"], ["stop_date", "2013-09-15"], ["period", "daily"]]
35740
+  (0.3ms) RELEASE SAVEPOINT active_record_1
35741
+  (0.1ms) SAVEPOINT active_record_1
35742
+ SQL (0.5ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-16"], ["stop_date", "2013-09-16"], ["period", "daily"]]
35743
+  (0.3ms) RELEASE SAVEPOINT active_record_1
35744
+  (0.1ms) SAVEPOINT active_record_1
35745
+ SQL (0.5ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-17"], ["stop_date", "2013-09-17"], ["period", "daily"]]
35746
+  (0.3ms) RELEASE SAVEPOINT active_record_1
35747
+  (0.3ms) SAVEPOINT active_record_1
35748
+ SQL (0.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-18"], ["stop_date", "2013-09-18"], ["period", "daily"]]
35749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35750
+ ReportCat::DateRange Load (0.7ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35751
+ report_cat_date_ranges.start_date between '2013-09-15' and '2013-09-18'
35752
+ or
35753
+ '2013-09-15' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35754
+ )
35755
+ and report_cat_date_ranges.period = 'daily') ORDER BY report_cat_date_ranges.start_date asc
35756
+  (3.1ms) rollback transaction
35757
+  (0.4ms) begin transaction
35758
+  (0.6ms) SELECT COUNT(*) FROM "report_cat_date_ranges"
35759
+ ReportCat::DateRange Load (0.3ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
35760
+ report_cat_date_ranges.start_date between '2013-09-15' and '2013-09-18'
35761
+ or
35762
+ '2013-09-15' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
35763
+ )
35764
+ and report_cat_date_ranges.period = 'daily') ORDER BY report_cat_date_ranges.start_date asc
35765
+  (0.1ms) SAVEPOINT active_record_1
35766
+ SQL (0.9ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-15"], ["stop_date", "2013-09-15"], ["period", "daily"]]
35767
+  (0.2ms) RELEASE SAVEPOINT active_record_1
35768
+  (0.5ms) SAVEPOINT active_record_1
35769
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-16"], ["stop_date", "2013-09-16"], ["period", "daily"]]
35770
+  (0.4ms) RELEASE SAVEPOINT active_record_1
35771
+  (0.2ms) SAVEPOINT active_record_1
35772
+ SQL (0.7ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-17"], ["stop_date", "2013-09-17"], ["period", "daily"]]
35773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35774
+  (0.2ms) SAVEPOINT active_record_1
35775
+ SQL (0.5ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-18"], ["stop_date", "2013-09-18"], ["period", "daily"]]
35776
+  (0.3ms) RELEASE SAVEPOINT active_record_1
35777
+  (0.3ms) SELECT COUNT(*) FROM "report_cat_date_ranges"
35778
+ ReportCat::DateRange Load (0.3ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE "report_cat_date_ranges"."period" = ? AND "report_cat_date_ranges"."start_date" = ? AND "report_cat_date_ranges"."stop_date" = ? ORDER BY "report_cat_date_ranges"."id" ASC LIMIT ? [["period", "daily"], ["start_date", "2013-09-15"], ["stop_date", "2013-09-15"], ["LIMIT", 1]]
35779
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE "report_cat_date_ranges"."period" = ? AND "report_cat_date_ranges"."start_date" = ? AND "report_cat_date_ranges"."stop_date" = ? ORDER BY "report_cat_date_ranges"."id" ASC LIMIT ? [["period", "daily"], ["start_date", "2013-09-16"], ["stop_date", "2013-09-16"], ["LIMIT", 1]]
35780
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE "report_cat_date_ranges"."period" = ? AND "report_cat_date_ranges"."start_date" = ? AND "report_cat_date_ranges"."stop_date" = ? ORDER BY "report_cat_date_ranges"."id" ASC LIMIT ? [["period", "daily"], ["start_date", "2013-09-17"], ["stop_date", "2013-09-17"], ["LIMIT", 1]]
35781
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE "report_cat_date_ranges"."period" = ? AND "report_cat_date_ranges"."start_date" = ? AND "report_cat_date_ranges"."stop_date" = ? ORDER BY "report_cat_date_ranges"."id" ASC LIMIT ? [["period", "daily"], ["start_date", "2013-09-18"], ["stop_date", "2013-09-18"], ["LIMIT", 1]]
35782
+  (0.7ms) rollback transaction
35783
+  (0.1ms) begin transaction
35784
+  (0.1ms) rollback transaction
35785
+  (0.1ms) begin transaction
35786
+  (0.0ms) rollback transaction
35787
+  (0.1ms) begin transaction
35788
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb
35789
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb (6.4ms)
35790
+  (0.1ms) rollback transaction
35791
+  (0.1ms) begin transaction
35792
+  (0.1ms) rollback transaction
35793
+  (0.1ms) begin transaction
35794
+  (0.1ms) rollback transaction
35795
+  (0.2ms) begin transaction
35796
+  (0.2ms) rollback transaction
35797
+  (0.1ms) begin transaction
35798
+  (0.4ms) rollback transaction
35799
+  (0.3ms) begin transaction
35800
+  (0.1ms) rollback transaction
35801
+  (0.1ms) begin transaction
35802
+  (0.1ms) rollback transaction
35803
+  (0.1ms) begin transaction
35804
+  (0.3ms) rollback transaction
35805
+  (0.4ms) begin transaction
35806
+  (0.2ms) rollback transaction
35807
+  (0.3ms) begin transaction
35808
+  (0.1ms) rollback transaction
35809
+  (0.1ms) begin transaction
35810
+  (0.1ms) rollback transaction
35811
+  (0.3ms) begin transaction
35812
+  (0.1ms) rollback transaction
35813
+  (0.2ms) begin transaction
35814
+  (0.1ms) rollback transaction
35815
+  (0.1ms) begin transaction
35816
+  (0.2ms) rollback transaction
35817
+  (0.2ms) begin transaction
35818
+  (0.3ms) rollback transaction
35819
+  (0.4ms) begin transaction
35820
+  (0.3ms) rollback transaction
35821
+  (0.1ms) begin transaction
35822
+  (0.1ms) rollback transaction
35823
+  (0.1ms) begin transaction
35824
+  (0.2ms) rollback transaction
35825
+  (0.4ms) begin transaction
35826
+  (0.5ms) rollback transaction
35827
+  (0.3ms) begin transaction
35828
+  (0.4ms) rollback transaction
35829
+  (0.1ms) begin transaction
35830
+  (0.1ms) rollback transaction
35831
+  (0.1ms) begin transaction
35832
+  (0.2ms) rollback transaction
35833
+  (0.1ms) begin transaction
35834
+  (0.6ms) rollback transaction
35835
+  (0.2ms) begin transaction
35836
+  (0.1ms) rollback transaction
35837
+  (0.3ms) begin transaction
35838
+  (0.1ms) rollback transaction
35839
+  (0.3ms) begin transaction
35840
+  (0.1ms) rollback transaction
35841
+  (0.5ms) begin transaction
35842
+  (0.3ms) rollback transaction
35843
+  (0.2ms) begin transaction
35844
+  (0.1ms) rollback transaction
35845
+  (0.3ms) begin transaction
35846
+  (0.2ms) rollback transaction
35847
+  (0.1ms) begin transaction
35848
+  (0.1ms) rollback transaction
35849
+  (0.5ms) begin transaction
35850
+  (0.3ms) rollback transaction
35851
+  (0.3ms) begin transaction
35852
+  (0.1ms) rollback transaction
35853
+  (0.3ms) begin transaction
35854
+  (0.1ms) rollback transaction
35855
+  (0.2ms) begin transaction
35856
+  (0.1ms) rollback transaction
35857
+  (0.1ms) begin transaction
35858
+  (0.1ms) rollback transaction
35859
+  (0.0ms) begin transaction
35860
+  (0.1ms) rollback transaction
35861
+  (0.1ms) begin transaction
35862
+  (0.0ms) rollback transaction
35863
+  (0.1ms) begin transaction
35864
+  (0.3ms) rollback transaction
35865
+  (0.3ms) begin transaction
35866
+  (0.2ms) rollback transaction
35867
+  (0.1ms) begin transaction
35868
+  (0.3ms) rollback transaction
35869
+  (0.1ms) begin transaction
35870
+  (0.1ms) rollback transaction
35871
+  (0.2ms) begin transaction
35872
+  (0.1ms) rollback transaction
35873
+  (0.4ms) begin transaction
35874
+  (0.2ms) rollback transaction
35875
+  (0.3ms) begin transaction
35876
+  (0.1ms) rollback transaction
35877
+  (0.1ms) begin transaction
35878
+  (0.3ms) rollback transaction
35879
+  (0.2ms) begin transaction
35880
+  (0.2ms) rollback transaction
35881
+  (0.1ms) begin transaction
35882
+  (0.1ms) rollback transaction
35883
+  (0.1ms) begin transaction
35884
+  (0.1ms) rollback transaction
35885
+  (0.2ms) begin transaction
35886
+  (0.1ms) rollback transaction
35887
+  (0.1ms) begin transaction
35888
+  (0.2ms) rollback transaction
35889
+  (0.2ms) begin transaction
35890
+  (0.3ms) rollback transaction
35891
+  (0.1ms) begin transaction
35892
+  (0.2ms) rollback transaction
35893
+  (0.3ms) begin transaction
35894
+  (0.1ms) rollback transaction
35895
+  (0.3ms) begin transaction
35896
+  (0.1ms) rollback transaction
35897
+  (0.2ms) begin transaction
35898
+  (0.1ms) rollback transaction
35899
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
35900
+  (0.1ms) begin transaction
35901
+  (0.0ms) rollback transaction
35902
+  (0.0ms) begin transaction
35903
+  (0.0ms) rollback transaction
35904
+  (0.0ms) begin transaction
35905
+  (0.0ms) rollback transaction
35906
+  (0.0ms) begin transaction
35907
+  (0.0ms) rollback transaction
35908
+  (0.0ms) begin transaction
35909
+  (0.0ms) rollback transaction
35910
+  (0.0ms) begin transaction
35911
+  (0.0ms) rollback transaction
35912
+  (0.0ms) begin transaction
35913
+  (0.0ms) rollback transaction
35914
+  (0.0ms) begin transaction
35915
+  (0.0ms) rollback transaction
35916
+  (0.0ms) begin transaction
35917
+  (0.0ms) rollback transaction
35918
+  (0.0ms) begin transaction
35919
+  (0.0ms) rollback transaction
35920
+  (0.1ms) begin transaction
35921
+  (0.0ms) rollback transaction
35922
+  (0.0ms) begin transaction
35923
+  (0.0ms) rollback transaction
35924
+  (0.0ms) begin transaction
35925
+  (0.0ms) rollback transaction
35926
+  (0.1ms) begin transaction
35927
+  (0.0ms) rollback transaction
35928
+  (0.0ms) begin transaction
35929
+  (0.0ms) rollback transaction
35930
+  (0.0ms) begin transaction
35931
+  (0.0ms) rollback transaction
35932
+  (0.0ms) begin transaction
35933
+  (0.0ms) rollback transaction
35934
+  (0.0ms) begin transaction
35935
+  (0.0ms) rollback transaction
35936
+  (0.0ms) begin transaction
35937
+  (0.0ms) rollback transaction
35938
+  (0.0ms) begin transaction
35939
+  (0.0ms) rollback transaction
35940
+  (0.0ms) begin transaction
35941
+  (0.0ms) rollback transaction
35942
+  (0.0ms) begin transaction
35943
+  (0.0ms) rollback transaction
35944
+  (0.0ms) begin transaction
35945
+  (0.0ms) rollback transaction
35946
+  (0.0ms) begin transaction
35947
+  (0.0ms) rollback transaction
35948
+  (0.0ms) begin transaction
35949
+  (0.0ms) rollback transaction
35950
+  (0.0ms) begin transaction
35951
+  (0.0ms) rollback transaction
35952
+  (0.0ms) begin transaction
35953
+  (0.0ms) rollback transaction
35954
+  (0.0ms) begin transaction
35955
+  (0.0ms) rollback transaction
35956
+  (0.0ms) begin transaction
35957
+  (0.0ms) rollback transaction
35958
+  (0.1ms) begin transaction
35959
+  (0.0ms) rollback transaction
35960
+  (0.1ms) begin transaction
35961
+  (0.0ms) rollback transaction
35962
+  (0.0ms) begin transaction
35963
+  (0.0ms) rollback transaction
35964
+  (0.1ms) begin transaction
35965
+  (0.0ms) rollback transaction
35966
+  (0.0ms) begin transaction
35967
+  (0.0ms) rollback transaction
35968
+  (0.0ms) begin transaction
35969
+  (0.0ms) rollback transaction
35970
+  (0.0ms) begin transaction
35971
+  (0.0ms) rollback transaction
35972
+  (0.0ms) begin transaction
35973
+  (0.0ms) rollback transaction
35974
+  (0.1ms) begin transaction
35975
+  (0.0ms) rollback transaction
35976
+  (0.0ms) begin transaction
35977
+  (0.0ms) rollback transaction
35978
+  (0.0ms) begin transaction
35979
+  (0.0ms) rollback transaction
35980
+  (0.0ms) begin transaction
35981
+  (0.0ms) rollback transaction
35982
+  (0.0ms) begin transaction
35983
+  (0.0ms) rollback transaction
35984
+  (0.0ms) begin transaction
35985
+  (0.1ms) rollback transaction
35986
+  (0.0ms) begin transaction
35987
+  (0.0ms) rollback transaction
35988
+  (0.0ms) begin transaction
35989
+  (0.0ms) rollback transaction
35990
+  (0.1ms) begin transaction
35991
+  (0.0ms) rollback transaction
35992
+  (0.1ms) begin transaction
35993
+  (0.0ms) rollback transaction
35994
+  (0.0ms) begin transaction
35995
+  (0.0ms) rollback transaction
35996
+  (0.0ms) begin transaction
35997
+  (0.0ms) rollback transaction
35998
+  (0.1ms) begin transaction
35999
+  (0.1ms) rollback transaction
36000
+  (0.1ms) begin transaction
36001
+  (0.0ms) rollback transaction
36002
+  (0.0ms) begin transaction
36003
+  (0.1ms) rollback transaction
36004
+  (0.1ms) begin transaction
36005
+  (0.0ms) rollback transaction
36006
+  (0.0ms) begin transaction
36007
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb
36008
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/_google_charts.html.erb (0.8ms)
36009
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb (28.4ms)
36010
+  (0.1ms) rollback transaction
36011
+  (0.0ms) begin transaction
36012
+  (0.0ms) rollback transaction
36013
+  (0.0ms) begin transaction
36014
+  (0.0ms) rollback transaction
36015
+  (0.0ms) begin transaction
36016
+  (0.1ms) rollback transaction
36017
+  (0.0ms) begin transaction
36018
+  (0.0ms) rollback transaction
36019
+  (0.0ms) begin transaction
36020
+  (0.0ms) rollback transaction
36021
+  (0.0ms) begin transaction
36022
+  (0.0ms) rollback transaction
36023
+  (0.0ms) begin transaction
36024
+  (0.0ms) rollback transaction
36025
+  (0.0ms) begin transaction
36026
+  (0.0ms) rollback transaction
36027
+  (0.0ms) begin transaction
36028
+  (0.0ms) rollback transaction
36029
+  (0.0ms) begin transaction
36030
+  (0.0ms) rollback transaction
36031
+  (0.0ms) begin transaction
36032
+  (0.0ms) rollback transaction
36033
+  (0.0ms) begin transaction
36034
+  (0.0ms) rollback transaction
36035
+  (0.0ms) begin transaction
36036
+  (0.1ms) rollback transaction
36037
+  (0.0ms) begin transaction
36038
+  (0.0ms) rollback transaction
36039
+  (0.0ms) begin transaction
36040
+  (0.0ms) rollback transaction
36041
+  (0.1ms) begin transaction
36042
+  (0.0ms) rollback transaction
36043
+  (0.0ms) begin transaction
36044
+  (0.0ms) rollback transaction
36045
+  (0.0ms) begin transaction
36046
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36047
+ report_cat_date_ranges.start_date between '2013-09-15' and '2013-09-18'
36048
+ or
36049
+ '2013-09-15' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36050
+ )
36051
+ and report_cat_date_ranges.period = 'daily') ORDER BY report_cat_date_ranges.start_date asc
36052
+  (0.1ms) SAVEPOINT active_record_1
36053
+ SQL (0.6ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-15"], ["stop_date", "2013-09-15"], ["period", "daily"]]
36054
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36055
+  (0.0ms) SAVEPOINT active_record_1
36056
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-16"], ["stop_date", "2013-09-16"], ["period", "daily"]]
36057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36058
+  (0.0ms) SAVEPOINT active_record_1
36059
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-17"], ["stop_date", "2013-09-17"], ["period", "daily"]]
36060
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36061
+  (0.2ms) SAVEPOINT active_record_1
36062
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-18"], ["stop_date", "2013-09-18"], ["period", "daily"]]
36063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36064
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36065
+ report_cat_date_ranges.start_date between '2013-09-15' and '2013-09-18'
36066
+ or
36067
+ '2013-09-15' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36068
+ )
36069
+ and report_cat_date_ranges.period = 'daily') ORDER BY report_cat_date_ranges.start_date asc
36070
+  (2.1ms) rollback transaction
36071
+  (0.1ms) begin transaction
36072
+  (0.1ms) SELECT COUNT(*) FROM "report_cat_date_ranges"
36073
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36074
+ report_cat_date_ranges.start_date between '2013-09-15' and '2013-09-18'
36075
+ or
36076
+ '2013-09-15' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36077
+ )
36078
+ and report_cat_date_ranges.period = 'daily') ORDER BY report_cat_date_ranges.start_date asc
36079
+  (0.1ms) SAVEPOINT active_record_1
36080
+ SQL (0.4ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-15"], ["stop_date", "2013-09-15"], ["period", "daily"]]
36081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36082
+  (0.0ms) SAVEPOINT active_record_1
36083
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-16"], ["stop_date", "2013-09-16"], ["period", "daily"]]
36084
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36085
+  (0.0ms) SAVEPOINT active_record_1
36086
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-17"], ["stop_date", "2013-09-17"], ["period", "daily"]]
36087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36088
+  (0.0ms) SAVEPOINT active_record_1
36089
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-18"], ["stop_date", "2013-09-18"], ["period", "daily"]]
36090
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36091
+  (0.1ms) SELECT COUNT(*) FROM "report_cat_date_ranges"
36092
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE "report_cat_date_ranges"."period" = ? AND "report_cat_date_ranges"."start_date" = ? AND "report_cat_date_ranges"."stop_date" = ? ORDER BY "report_cat_date_ranges"."id" ASC LIMIT ? [["period", "daily"], ["start_date", "2013-09-15"], ["stop_date", "2013-09-15"], ["LIMIT", 1]]
36093
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE "report_cat_date_ranges"."period" = ? AND "report_cat_date_ranges"."start_date" = ? AND "report_cat_date_ranges"."stop_date" = ? ORDER BY "report_cat_date_ranges"."id" ASC LIMIT ? [["period", "daily"], ["start_date", "2013-09-16"], ["stop_date", "2013-09-16"], ["LIMIT", 1]]
36094
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE "report_cat_date_ranges"."period" = ? AND "report_cat_date_ranges"."start_date" = ? AND "report_cat_date_ranges"."stop_date" = ? ORDER BY "report_cat_date_ranges"."id" ASC LIMIT ? [["period", "daily"], ["start_date", "2013-09-17"], ["stop_date", "2013-09-17"], ["LIMIT", 1]]
36095
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE "report_cat_date_ranges"."period" = ? AND "report_cat_date_ranges"."start_date" = ? AND "report_cat_date_ranges"."stop_date" = ? ORDER BY "report_cat_date_ranges"."id" ASC LIMIT ? [["period", "daily"], ["start_date", "2013-09-18"], ["stop_date", "2013-09-18"], ["LIMIT", 1]]
36096
+  (0.4ms) rollback transaction
36097
+  (0.0ms) begin transaction
36098
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36099
+ report_cat_date_ranges.start_date between '2013-09-15' and '2013-09-18'
36100
+ or
36101
+ '2013-09-15' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36102
+ )
36103
+ and report_cat_date_ranges.period = 'daily') ORDER BY report_cat_date_ranges.start_date asc
36104
+  (0.0ms) rollback transaction
36105
+  (0.0ms) begin transaction
36106
+  (0.0ms) rollback transaction
36107
+  (0.0ms) begin transaction
36108
+  (0.1ms) rollback transaction
36109
+  (0.0ms) begin transaction
36110
+  (0.0ms) rollback transaction
36111
+  (0.0ms) begin transaction
36112
+  (0.0ms) rollback transaction
36113
+  (0.0ms) begin transaction
36114
+  (0.0ms) rollback transaction
36115
+  (0.0ms) begin transaction
36116
+  (0.0ms) rollback transaction
36117
+  (0.0ms) begin transaction
36118
+  (0.0ms) rollback transaction
36119
+  (0.0ms) begin transaction
36120
+  (0.0ms) rollback transaction
36121
+  (0.0ms) begin transaction
36122
+  (0.0ms) rollback transaction
36123
+  (0.0ms) begin transaction
36124
+  (0.0ms) rollback transaction
36125
+  (0.0ms) begin transaction
36126
+  (0.0ms) rollback transaction
36127
+  (0.0ms) begin transaction
36128
+  (0.0ms) rollback transaction
36129
+  (0.0ms) begin transaction
36130
+  (0.0ms) rollback transaction
36131
+  (0.1ms) begin transaction
36132
+  (0.0ms) rollback transaction
36133
+  (0.0ms) begin transaction
36134
+  (0.0ms) rollback transaction
36135
+  (0.0ms) begin transaction
36136
+  (0.0ms) rollback transaction
36137
+  (0.0ms) begin transaction
36138
+  (0.0ms) rollback transaction
36139
+  (0.0ms) begin transaction
36140
+  (0.0ms) rollback transaction
36141
+  (0.1ms) begin transaction
36142
+  (0.0ms) rollback transaction
36143
+  (0.0ms) begin transaction
36144
+  (0.0ms) rollback transaction
36145
+  (0.0ms) begin transaction
36146
+  (0.0ms) rollback transaction
36147
+  (0.0ms) begin transaction
36148
+  (0.0ms) rollback transaction
36149
+  (0.0ms) begin transaction
36150
+  (0.0ms) rollback transaction
36151
+  (0.0ms) begin transaction
36152
+  (0.0ms) rollback transaction
36153
+  (0.0ms) begin transaction
36154
+  (0.0ms) rollback transaction
36155
+  (0.0ms) begin transaction
36156
+  (0.1ms) rollback transaction
36157
+  (0.0ms) begin transaction
36158
+  (0.0ms) rollback transaction
36159
+  (0.0ms) begin transaction
36160
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36161
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36162
+ or
36163
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36164
+ )
36165
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36166
+  (0.0ms) SAVEPOINT active_record_1
36167
+ SQL (0.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
36168
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36169
+  (0.1ms) SAVEPOINT active_record_1
36170
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
36171
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36172
+  (0.0ms) SAVEPOINT active_record_1
36173
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
36174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36175
+  (0.0ms) SAVEPOINT active_record_1
36176
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
36177
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36178
+  (0.0ms) SAVEPOINT active_record_1
36179
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
36180
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36181
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36182
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36183
+ or
36184
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36185
+ )
36186
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36187
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36188
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36189
+ or
36190
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36191
+ )
36192
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36193
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36194
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36195
+ or
36196
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36197
+ )
36198
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36199
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36200
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
36201
+ or
36202
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36203
+ )
36204
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36205
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36206
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
36207
+ or
36208
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36209
+ )
36210
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36211
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36212
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
36213
+ or
36214
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36215
+ )
36216
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36217
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36218
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
36219
+ or
36220
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36221
+ )
36222
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36223
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36224
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
36225
+ or
36226
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36227
+ )
36228
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36229
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36230
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
36231
+ or
36232
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36233
+ )
36234
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36235
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36236
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
36237
+ or
36238
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36239
+ )
36240
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36241
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36242
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
36243
+ or
36244
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36245
+ )
36246
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36247
+  (0.1ms) SELECT COUNT(*) FROM "report_cat_date_ranges" WHERE ( (
36248
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36249
+ or
36250
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36251
+ )
36252
+ and report_cat_date_ranges.period = 'weekly')
36253
+  (0.5ms) rollback transaction
36254
+  (0.0ms) begin transaction
36255
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36256
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36257
+ or
36258
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36259
+ )
36260
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36261
+  (0.0ms) SAVEPOINT active_record_1
36262
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
36263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36264
+  (0.0ms) SAVEPOINT active_record_1
36265
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
36266
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36267
+  (0.1ms) SAVEPOINT active_record_1
36268
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
36269
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36270
+  (0.0ms) SAVEPOINT active_record_1
36271
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
36272
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36273
+  (0.0ms) SAVEPOINT active_record_1
36274
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
36275
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36276
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36277
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36278
+ or
36279
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36280
+ )
36281
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36282
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36283
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36284
+ or
36285
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36286
+ )
36287
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36288
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36289
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36290
+ or
36291
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36292
+ )
36293
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36294
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36295
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
36296
+ or
36297
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36298
+ )
36299
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36300
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36301
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
36302
+ or
36303
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36304
+ )
36305
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36306
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36307
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
36308
+ or
36309
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36310
+ )
36311
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36312
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36313
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
36314
+ or
36315
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36316
+ )
36317
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36318
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36319
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
36320
+ or
36321
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36322
+ )
36323
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36324
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36325
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
36326
+ or
36327
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36328
+ )
36329
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36330
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36331
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
36332
+ or
36333
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36334
+ )
36335
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36336
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36337
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
36338
+ or
36339
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36340
+ )
36341
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36342
+  (0.5ms) rollback transaction
36343
+  (0.0ms) begin transaction
36344
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36345
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36346
+ or
36347
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36348
+ )
36349
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36350
+  (0.0ms) SAVEPOINT active_record_1
36351
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
36352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36353
+  (0.0ms) SAVEPOINT active_record_1
36354
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
36355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36356
+  (0.0ms) SAVEPOINT active_record_1
36357
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
36358
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36359
+  (0.0ms) SAVEPOINT active_record_1
36360
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
36361
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36362
+  (0.1ms) SAVEPOINT active_record_1
36363
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
36364
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36365
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36366
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36367
+ or
36368
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36369
+ )
36370
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36371
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36372
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36373
+ or
36374
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36375
+ )
36376
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36377
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36378
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36379
+ or
36380
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36381
+ )
36382
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36383
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36384
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
36385
+ or
36386
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36387
+ )
36388
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36389
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36390
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
36391
+ or
36392
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36393
+ )
36394
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36395
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36396
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
36397
+ or
36398
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36399
+ )
36400
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36401
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36402
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
36403
+ or
36404
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36405
+ )
36406
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36407
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36408
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
36409
+ or
36410
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36411
+ )
36412
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36413
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36414
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
36415
+ or
36416
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36417
+ )
36418
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36419
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36420
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
36421
+ or
36422
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36423
+ )
36424
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36425
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36426
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
36427
+ or
36428
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36429
+ )
36430
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36431
+  (0.5ms) rollback transaction
36432
+  (0.0ms) begin transaction
36433
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36434
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36435
+ or
36436
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36437
+ )
36438
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36439
+  (0.0ms) SAVEPOINT active_record_1
36440
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
36441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36442
+  (0.0ms) SAVEPOINT active_record_1
36443
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
36444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36445
+  (0.0ms) SAVEPOINT active_record_1
36446
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
36447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36448
+  (0.0ms) SAVEPOINT active_record_1
36449
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
36450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36451
+  (0.0ms) SAVEPOINT active_record_1
36452
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
36453
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36454
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36455
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36456
+ or
36457
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36458
+ )
36459
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36460
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36461
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36462
+ or
36463
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36464
+ )
36465
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36466
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36467
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36468
+ or
36469
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36470
+ )
36471
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36472
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36473
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
36474
+ or
36475
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36476
+ )
36477
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36478
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36479
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
36480
+ or
36481
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36482
+ )
36483
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36484
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36485
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
36486
+ or
36487
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36488
+ )
36489
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36490
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36491
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
36492
+ or
36493
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36494
+ )
36495
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36496
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36497
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
36498
+ or
36499
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36500
+ )
36501
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36502
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36503
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
36504
+ or
36505
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36506
+ )
36507
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36508
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36509
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
36510
+ or
36511
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36512
+ )
36513
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36514
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36515
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
36516
+ or
36517
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36518
+ )
36519
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36520
+  (0.1ms) SELECT COUNT(*) FROM "report_cat_date_ranges" WHERE ( (
36521
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36522
+ or
36523
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36524
+ )
36525
+ and report_cat_date_ranges.period = 'weekly')
36526
+  (0.5ms) rollback transaction
36527
+  (0.1ms) begin transaction
36528
+  (0.0ms) rollback transaction
36529
+  (0.0ms) begin transaction
36530
+  (0.0ms) rollback transaction
36531
+  (0.0ms) begin transaction
36532
+  (0.0ms) rollback transaction
36533
+  (0.0ms) begin transaction
36534
+  (0.0ms) rollback transaction
36535
+  (0.0ms) begin transaction
36536
+  (0.0ms) rollback transaction
36537
+  (0.0ms) begin transaction
36538
+  (0.0ms) rollback transaction
36539
+  (0.0ms) begin transaction
36540
+  (0.0ms) rollback transaction
36541
+  (0.0ms) begin transaction
36542
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36543
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36544
+ or
36545
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36546
+ )
36547
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36548
+  (0.0ms) SAVEPOINT active_record_1
36549
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
36550
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36551
+  (0.0ms) SAVEPOINT active_record_1
36552
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
36553
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36554
+  (0.0ms) SAVEPOINT active_record_1
36555
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
36556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36557
+  (0.0ms) SAVEPOINT active_record_1
36558
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
36559
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36560
+  (0.0ms) SAVEPOINT active_record_1
36561
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
36562
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36563
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36564
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36565
+ or
36566
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36567
+ )
36568
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
36569
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36570
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36571
+ or
36572
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36573
+ )
36574
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36575
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36576
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36577
+ or
36578
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36579
+ )
36580
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36581
+  (0.6ms) rollback transaction
36582
+  (0.1ms) begin transaction
36583
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36584
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36585
+ or
36586
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36587
+ )
36588
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36589
+  (0.1ms) SAVEPOINT active_record_1
36590
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
36591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36592
+  (0.0ms) SAVEPOINT active_record_1
36593
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
36594
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36595
+  (0.0ms) SAVEPOINT active_record_1
36596
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
36597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36598
+  (0.0ms) SAVEPOINT active_record_1
36599
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
36600
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36601
+  (0.0ms) SAVEPOINT active_record_1
36602
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
36603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36604
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36605
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36606
+ or
36607
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36608
+ )
36609
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
36610
+  (0.5ms) rollback transaction
36611
+  (0.0ms) begin transaction
36612
+  (0.0ms) rollback transaction
36613
+  (0.0ms) begin transaction
36614
+  (0.0ms) rollback transaction
36615
+  (0.0ms) begin transaction
36616
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36617
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36618
+ or
36619
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36620
+ )
36621
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36622
+  (0.0ms) SAVEPOINT active_record_1
36623
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
36624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36625
+  (0.0ms) SAVEPOINT active_record_1
36626
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
36627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36628
+  (0.0ms) SAVEPOINT active_record_1
36629
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
36630
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36631
+  (0.1ms) SAVEPOINT active_record_1
36632
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
36633
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36634
+  (0.0ms) SAVEPOINT active_record_1
36635
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
36636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36637
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36638
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36639
+ or
36640
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36641
+ )
36642
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
36643
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36644
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36645
+ or
36646
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36647
+ )
36648
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36649
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36650
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36651
+ or
36652
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36653
+ )
36654
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36655
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36656
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36657
+ or
36658
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36659
+ )
36660
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36661
+  (0.5ms) rollback transaction
36662
+  (0.1ms) begin transaction
36663
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36664
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36665
+ or
36666
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36667
+ )
36668
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36669
+  (0.1ms) SAVEPOINT active_record_1
36670
+ SQL (0.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
36671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36672
+  (0.0ms) SAVEPOINT active_record_1
36673
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
36674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36675
+  (0.0ms) SAVEPOINT active_record_1
36676
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
36677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36678
+  (0.0ms) SAVEPOINT active_record_1
36679
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
36680
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36681
+  (0.0ms) SAVEPOINT active_record_1
36682
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
36683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36684
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36685
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36686
+ or
36687
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36688
+ )
36689
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
36690
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36691
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36692
+ or
36693
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36694
+ )
36695
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36696
+  (0.5ms) rollback transaction
36697
+  (0.0ms) begin transaction
36698
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36699
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36700
+ or
36701
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36702
+ )
36703
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36704
+  (0.0ms) SAVEPOINT active_record_1
36705
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
36706
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36707
+  (0.0ms) SAVEPOINT active_record_1
36708
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
36709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36710
+  (0.0ms) SAVEPOINT active_record_1
36711
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
36712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36713
+  (0.0ms) SAVEPOINT active_record_1
36714
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
36715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36716
+  (0.0ms) SAVEPOINT active_record_1
36717
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
36718
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36719
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36720
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36721
+ or
36722
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36723
+ )
36724
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
36725
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36726
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36727
+ or
36728
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36729
+ )
36730
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36731
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36732
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36733
+ or
36734
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36735
+ )
36736
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36737
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36738
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36739
+ or
36740
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36741
+ )
36742
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36743
+  (0.6ms) rollback transaction
36744
+  (0.1ms) begin transaction
36745
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36746
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36747
+ or
36748
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36749
+ )
36750
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36751
+  (0.1ms) SAVEPOINT active_record_1
36752
+ SQL (0.3ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
36753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36754
+  (0.0ms) SAVEPOINT active_record_1
36755
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
36756
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36757
+  (0.0ms) SAVEPOINT active_record_1
36758
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
36759
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36760
+  (0.0ms) SAVEPOINT active_record_1
36761
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
36762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36763
+  (0.0ms) SAVEPOINT active_record_1
36764
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
36765
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36766
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36767
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36768
+ or
36769
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36770
+ )
36771
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
36772
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36773
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36774
+ or
36775
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36776
+ )
36777
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36778
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36779
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36780
+ or
36781
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36782
+ )
36783
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36784
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36785
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36786
+ or
36787
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36788
+ )
36789
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36790
+  (0.5ms) rollback transaction
36791
+  (0.0ms) begin transaction
36792
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36793
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36794
+ or
36795
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36796
+ )
36797
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36798
+  (0.0ms) SAVEPOINT active_record_1
36799
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
36800
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36801
+  (0.1ms) SAVEPOINT active_record_1
36802
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
36803
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36804
+  (0.0ms) SAVEPOINT active_record_1
36805
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
36806
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36807
+  (0.0ms) SAVEPOINT active_record_1
36808
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
36809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36810
+  (0.0ms) SAVEPOINT active_record_1
36811
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
36812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36813
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36814
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36815
+ or
36816
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36817
+ )
36818
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
36819
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36820
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36821
+ or
36822
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36823
+ )
36824
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36825
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36826
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36827
+ or
36828
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36829
+ )
36830
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36831
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36832
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36833
+ or
36834
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36835
+ )
36836
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36837
+  (0.5ms) rollback transaction
36838
+  (0.0ms) begin transaction
36839
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36840
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36841
+ or
36842
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36843
+ )
36844
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36845
+  (0.0ms) SAVEPOINT active_record_1
36846
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
36847
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36848
+  (0.0ms) SAVEPOINT active_record_1
36849
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
36850
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36851
+  (0.1ms) SAVEPOINT active_record_1
36852
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
36853
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36854
+  (0.0ms) SAVEPOINT active_record_1
36855
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
36856
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36857
+  (0.0ms) SAVEPOINT active_record_1
36858
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
36859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36860
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36861
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36862
+ or
36863
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36864
+ )
36865
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
36866
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36867
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36868
+ or
36869
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36870
+ )
36871
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36872
+  (0.2ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36873
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36874
+ or
36875
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36876
+ )
36877
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36878
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36879
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36880
+ or
36881
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36882
+ )
36883
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36884
+  (0.5ms) rollback transaction
36885
+  (0.0ms) begin transaction
36886
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36887
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36888
+ or
36889
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36890
+ )
36891
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36892
+  (0.0ms) SAVEPOINT active_record_1
36893
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2012-12-31"], ["stop_date", "2013-01-06"], ["period", "weekly"]]
36894
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36895
+  (0.0ms) SAVEPOINT active_record_1
36896
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-07"], ["stop_date", "2013-01-13"], ["period", "weekly"]]
36897
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36898
+  (0.1ms) SAVEPOINT active_record_1
36899
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-14"], ["stop_date", "2013-01-20"], ["period", "weekly"]]
36900
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36901
+  (0.0ms) SAVEPOINT active_record_1
36902
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-21"], ["stop_date", "2013-01-27"], ["period", "weekly"]]
36903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36904
+  (0.0ms) SAVEPOINT active_record_1
36905
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-01-28"], ["stop_date", "2013-02-03"], ["period", "weekly"]]
36906
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36907
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36908
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36909
+ or
36910
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36911
+ )
36912
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
36913
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36914
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36915
+ or
36916
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36917
+ )
36918
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36919
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date,0 as total from report_cat_date_ranges where (
36920
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
36921
+ or
36922
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36923
+ )
36924
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
36925
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
36926
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
36927
+ or
36928
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
36929
+ )
36930
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
36931
+  (0.5ms) rollback transaction
36932
+  (0.0ms) begin transaction
36933
+  (0.0ms) rollback transaction
36934
+  (0.0ms) begin transaction
36935
+ Processing by ReportCat::ReportsController#show as HTML
36936
+ Parameters: {"id"=>"test"}
36937
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin
36938
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
36939
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin (0.4ms)
36940
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
36941
+ Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.0ms)
36942
+  (0.0ms) rollback transaction
36943
+  (0.0ms) begin transaction
36944
+ Processing by ReportCat::ReportsController#show as HTML
36945
+ Parameters: {"id"=>"test"}
36946
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin
36947
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin (0.0ms)
36948
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
36949
+  (0.0ms) rollback transaction
36950
+  (0.0ms) begin transaction
36951
+ Processing by ReportCat::ReportsController#show as CSV
36952
+ Parameters: {"id"=>"test"}
36953
+ Rendering text template
36954
+ Rendered text template (0.0ms)
36955
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
36956
+  (0.0ms) rollback transaction
36957
+  (0.0ms) begin transaction
36958
+ Processing by ReportCat::ReportsController#show as HTML
36959
+ Parameters: {"id"=>"test"}
36960
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin
36961
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin (0.0ms)
36962
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
36963
+  (0.0ms) rollback transaction
36964
+  (0.0ms) begin transaction
36965
+  (0.0ms) rollback transaction
36966
+  (0.0ms) begin transaction
36967
+ Processing by ReportCat::ReportsController#index as HTML
36968
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin
36969
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
36970
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin (0.3ms)
36971
+ Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.0ms)
36972
+  (0.0ms) rollback transaction
36973
+  (0.0ms) begin transaction
36974
+ Processing by ReportCat::ReportsController#index as HTML
36975
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin
36976
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin (0.0ms)
36977
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
36978
+  (0.1ms) rollback transaction
36979
+  (0.0ms) begin transaction
36980
+  (0.0ms) rollback transaction
36981
+  (0.0ms) begin transaction
36982
+ Processing by ReportCat::ReportsController#index as HTML
36983
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin
36984
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin (0.0ms)
36985
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
36986
+  (0.0ms) rollback transaction
36987
+  (0.0ms) begin transaction
36988
+  (0.0ms) rollback transaction
36989
+  (0.0ms) begin transaction
36990
+  (0.0ms) rollback transaction
36991
+  (0.0ms) begin transaction
36992
+  (0.0ms) rollback transaction
36993
+  (0.0ms) begin transaction
36994
+  (0.0ms) rollback transaction
36995
+  (0.0ms) begin transaction
36996
+  (0.0ms) rollback transaction
36997
+  (0.0ms) begin transaction
36998
+  (0.0ms) rollback transaction
36999
+  (0.0ms) begin transaction
37000
+  (0.0ms) rollback transaction
37001
+  (0.0ms) begin transaction
37002
+  (0.0ms) rollback transaction
37003
+  (0.0ms) begin transaction
37004
+  (0.0ms) rollback transaction
37005
+  (0.0ms) begin transaction
37006
+  (0.0ms) rollback transaction
37007
+  (0.0ms) begin transaction
37008
+  (0.0ms) rollback transaction
37009
+  (0.0ms) begin transaction
37010
+  (0.1ms) select report_cat_date_ranges.start_date as start_date,report_cat_date_ranges.stop_date as stop_date from report_cat_date_ranges where (
37011
+ report_cat_date_ranges.start_date between '2013-09-01' and '2013-09-18'
37012
+ or
37013
+ '2013-09-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
37014
+ )
37015
+ and report_cat_date_ranges.period = 'weekly' group by report_cat_date_ranges.start_date, report_cat_date_ranges.stop_date order by report_cat_date_ranges.start_date asc
37016
+  (0.0ms) rollback transaction
37017
+  (0.0ms) begin transaction
37018
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
37019
+ report_cat_date_ranges.start_date between '2013-09-01' and '2013-09-18'
37020
+ or
37021
+ '2013-09-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
37022
+ )
37023
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
37024
+  (0.0ms) SAVEPOINT active_record_1
37025
+ SQL (0.2ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-08-26"], ["stop_date", "2013-09-01"], ["period", "weekly"]]
37026
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37027
+  (0.0ms) SAVEPOINT active_record_1
37028
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-02"], ["stop_date", "2013-09-08"], ["period", "weekly"]]
37029
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37030
+  (0.0ms) SAVEPOINT active_record_1
37031
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-09"], ["stop_date", "2013-09-15"], ["period", "weekly"]]
37032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37033
+  (0.0ms) SAVEPOINT active_record_1
37034
+ SQL (0.1ms) INSERT INTO "report_cat_date_ranges" ("start_date", "stop_date", "period") VALUES (?, ?, ?) [["start_date", "2013-09-16"], ["stop_date", "2013-09-22"], ["period", "weekly"]]
37035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37036
+  (0.1ms) select 1
37037
+  (0.5ms) rollback transaction
37038
+  (0.0ms) begin transaction
37039
+  (0.0ms) rollback transaction
37040
+  (0.0ms) begin transaction
37041
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
37042
+ report_cat_date_ranges.start_date between '2013-09-01' and '2013-09-18'
37043
+ or
37044
+ '2013-09-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
37045
+ )
37046
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
37047
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
37048
+ report_cat_date_ranges.start_date between '2013-09-01' and '2013-09-18'
37049
+ or
37050
+ '2013-09-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
37051
+ )
37052
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
37053
+  (0.0ms) rollback transaction
37054
+  (0.0ms) begin transaction
37055
+  (0.0ms) rollback transaction
37056
+  (0.0ms) begin transaction
37057
+  (0.0ms) rollback transaction
37058
+  (0.0ms) begin transaction
37059
+  (0.0ms) rollback transaction
37060
+  (0.1ms) begin transaction
37061
+  (0.0ms) rollback transaction
37062
+  (0.0ms) begin transaction
37063
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb
37064
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb (1.1ms)
37065
+  (0.1ms) rollback transaction