report_cat 5.0.2 → 5.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af0f201fd275808d945c29791d52b3f809e434a6
4
- data.tar.gz: b6f5935554c157ed45930cea450682c5d6c3c6c4
3
+ metadata.gz: fb62ff57ef579bfeada572bbd842859e8ab0692d
4
+ data.tar.gz: 2bb5e54b33311cd4481f762214d5ed06d62c69b1
5
5
  SHA512:
6
- metadata.gz: 57c59be1f81c9f67725fb3c16b0d5147ac4b5d0b70d380c0e287b19108be4cd03931ff5c3885bff3fcee9fe1762d14ed655aa84cc5a48782aa4e8904e2c42e76
7
- data.tar.gz: 644a479dac4b52ddb9d4fc0455c3b80c615525f0cf711d2af4dd71aa595b822808e5d31358cf1289d2ffe8b3281bdc7e836c4cecabeea49fdfc50bfa692c139b
6
+ metadata.gz: d60476cfea5be52e4b5b8867cfe877a6afd3c16a21a707cbe06126bfd6d3852ab22f40ddd999f3f36af53bba3147f143eaccf218f378cf17aedf03323d5cb5e2
7
+ data.tar.gz: 3f0dd6a5ae56595f2b4e77d776555e13b46151a32e55e74882ea3262bc586f19f6d97132944e6c70f0026b5fb76a40dcdaf80e1a9792aa61100540be90018620
@@ -1 +1 @@
1
- 502
1
+ 503
@@ -38230,3 +38230,1170 @@ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
38230
38230
   (0.0ms) rollback transaction
38231
38231
   (0.0ms) begin transaction
38232
38232
   (0.0ms) rollback transaction
38233
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
38234
+  (0.1ms) begin transaction
38235
+  (0.0ms) rollback transaction
38236
+  (0.0ms) begin transaction
38237
+  (0.0ms) rollback transaction
38238
+  (0.0ms) begin transaction
38239
+  (0.1ms) rollback transaction
38240
+  (0.0ms) begin transaction
38241
+  (0.0ms) rollback transaction
38242
+  (0.0ms) begin transaction
38243
+  (0.1ms) rollback transaction
38244
+  (0.0ms) begin transaction
38245
+  (0.0ms) rollback transaction
38246
+  (0.0ms) begin transaction
38247
+  (0.0ms) rollback transaction
38248
+  (0.0ms) begin transaction
38249
+  (0.0ms) rollback transaction
38250
+  (0.0ms) begin transaction
38251
+  (0.0ms) rollback transaction
38252
+  (0.0ms) begin transaction
38253
+  (0.0ms) rollback transaction
38254
+  (0.0ms) begin transaction
38255
+  (0.0ms) rollback transaction
38256
+  (0.1ms) begin transaction
38257
+  (0.1ms) rollback transaction
38258
+  (0.0ms) begin transaction
38259
+  (0.0ms) rollback transaction
38260
+  (0.0ms) begin transaction
38261
+  (0.0ms) rollback transaction
38262
+  (0.1ms) begin transaction
38263
+  (0.0ms) rollback transaction
38264
+  (0.0ms) begin transaction
38265
+  (0.0ms) rollback transaction
38266
+  (0.0ms) begin transaction
38267
+  (0.0ms) rollback transaction
38268
+  (0.0ms) begin transaction
38269
+  (0.1ms) rollback transaction
38270
+  (0.0ms) begin transaction
38271
+  (0.0ms) rollback transaction
38272
+  (0.0ms) begin transaction
38273
+  (0.0ms) rollback transaction
38274
+  (0.0ms) begin transaction
38275
+  (0.0ms) rollback transaction
38276
+  (0.0ms) begin transaction
38277
+  (0.0ms) rollback transaction
38278
+  (0.0ms) begin transaction
38279
+  (0.0ms) rollback transaction
38280
+  (0.0ms) begin transaction
38281
+  (0.0ms) rollback transaction
38282
+  (0.0ms) begin transaction
38283
+  (0.0ms) rollback transaction
38284
+  (0.0ms) begin transaction
38285
+  (0.0ms) rollback transaction
38286
+  (0.0ms) begin transaction
38287
+  (0.0ms) rollback transaction
38288
+  (0.0ms) begin transaction
38289
+  (0.0ms) rollback transaction
38290
+  (0.0ms) begin transaction
38291
+  (0.0ms) rollback transaction
38292
+  (0.0ms) begin transaction
38293
+  (0.0ms) rollback transaction
38294
+  (0.0ms) begin transaction
38295
+  (0.0ms) rollback transaction
38296
+  (0.0ms) begin transaction
38297
+  (0.0ms) rollback transaction
38298
+  (0.1ms) begin transaction
38299
+  (0.0ms) rollback transaction
38300
+  (0.0ms) begin transaction
38301
+  (0.1ms) rollback transaction
38302
+  (0.0ms) begin transaction
38303
+  (0.0ms) rollback transaction
38304
+  (0.0ms) begin transaction
38305
+  (0.0ms) rollback transaction
38306
+  (0.0ms) begin transaction
38307
+  (0.0ms) rollback transaction
38308
+  (0.0ms) begin transaction
38309
+  (0.0ms) rollback transaction
38310
+  (0.0ms) begin transaction
38311
+  (0.1ms) rollback transaction
38312
+  (0.0ms) begin transaction
38313
+  (0.0ms) rollback transaction
38314
+  (0.0ms) begin transaction
38315
+  (0.0ms) rollback transaction
38316
+  (0.0ms) begin transaction
38317
+  (0.0ms) rollback transaction
38318
+  (0.0ms) begin transaction
38319
+  (0.0ms) rollback transaction
38320
+  (0.0ms) begin transaction
38321
+  (0.0ms) rollback transaction
38322
+  (0.0ms) begin transaction
38323
+  (0.0ms) rollback transaction
38324
+  (0.0ms) begin transaction
38325
+  (0.0ms) rollback transaction
38326
+  (0.0ms) begin transaction
38327
+  (0.0ms) rollback transaction
38328
+  (0.0ms) begin transaction
38329
+  (0.1ms) rollback transaction
38330
+  (0.0ms) begin transaction
38331
+  (0.1ms) rollback transaction
38332
+  (0.0ms) begin transaction
38333
+  (0.0ms) rollback transaction
38334
+  (0.0ms) begin transaction
38335
+  (0.1ms) rollback transaction
38336
+  (0.0ms) begin transaction
38337
+  (0.0ms) rollback transaction
38338
+  (0.0ms) begin transaction
38339
+  (0.1ms) rollback transaction
38340
+  (0.0ms) begin transaction
38341
+  (0.1ms) rollback transaction
38342
+  (0.0ms) begin transaction
38343
+  (0.0ms) rollback transaction
38344
+  (0.0ms) begin transaction
38345
+  (0.0ms) rollback transaction
38346
+  (0.1ms) begin transaction
38347
+  (0.0ms) rollback transaction
38348
+  (0.0ms) begin transaction
38349
+  (0.0ms) rollback transaction
38350
+  (0.0ms) begin transaction
38351
+  (0.0ms) rollback transaction
38352
+  (0.0ms) begin transaction
38353
+  (0.0ms) rollback transaction
38354
+  (0.0ms) begin transaction
38355
+  (0.0ms) rollback transaction
38356
+  (0.0ms) begin transaction
38357
+  (0.0ms) rollback transaction
38358
+  (0.0ms) begin transaction
38359
+  (0.0ms) rollback transaction
38360
+  (0.0ms) begin transaction
38361
+  (0.0ms) rollback transaction
38362
+  (0.0ms) begin transaction
38363
+  (0.0ms) rollback transaction
38364
+  (0.0ms) begin transaction
38365
+  (0.0ms) rollback transaction
38366
+  (0.0ms) begin transaction
38367
+  (0.0ms) rollback transaction
38368
+  (0.1ms) begin transaction
38369
+  (0.1ms) rollback transaction
38370
+  (0.0ms) begin transaction
38371
+  (0.0ms) rollback transaction
38372
+  (0.0ms) begin transaction
38373
+  (0.0ms) rollback transaction
38374
+  (0.0ms) begin transaction
38375
+  (0.1ms) rollback transaction
38376
+  (0.0ms) begin transaction
38377
+  (0.0ms) rollback transaction
38378
+  (0.0ms) begin transaction
38379
+  (0.0ms) rollback transaction
38380
+  (0.0ms) begin transaction
38381
+  (0.0ms) rollback transaction
38382
+  (0.0ms) begin transaction
38383
+  (0.0ms) rollback transaction
38384
+  (0.0ms) begin transaction
38385
+  (0.0ms) rollback transaction
38386
+  (0.0ms) begin transaction
38387
+  (0.0ms) rollback transaction
38388
+  (0.0ms) begin transaction
38389
+  (0.0ms) rollback transaction
38390
+  (0.0ms) begin transaction
38391
+  (0.1ms) rollback transaction
38392
+  (0.0ms) begin transaction
38393
+  (0.0ms) rollback transaction
38394
+  (0.0ms) begin transaction
38395
+  (0.0ms) rollback transaction
38396
+  (0.0ms) begin transaction
38397
+  (0.0ms) rollback transaction
38398
+  (0.0ms) begin transaction
38399
+ ReportCat::DateRange Load (0.5ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38400
+ report_cat_date_ranges.start_date between '2013-09-01' and '2013-09-18'
38401
+ or
38402
+ '2013-09-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38403
+ )
38404
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38405
+  (0.1ms) SAVEPOINT active_record_1
38406
+ SQL (2.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"]]
38407
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38408
+  (0.1ms) SAVEPOINT active_record_1
38409
+ 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"]]
38410
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38411
+  (0.0ms) SAVEPOINT active_record_1
38412
+ 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"]]
38413
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38414
+  (0.0ms) SAVEPOINT active_record_1
38415
+ 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"]]
38416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38417
+  (0.1ms) select 1
38418
+  (0.4ms) rollback transaction
38419
+  (0.0ms) begin transaction
38420
+  (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 (
38421
+ report_cat_date_ranges.start_date between '2013-09-01' and '2013-09-18'
38422
+ or
38423
+ '2013-09-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38424
+ )
38425
+ 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
38426
+  (0.0ms) rollback transaction
38427
+  (0.0ms) begin transaction
38428
+  (0.0ms) rollback transaction
38429
+  (0.0ms) begin transaction
38430
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38431
+ report_cat_date_ranges.start_date between '2013-09-01' and '2013-09-18'
38432
+ or
38433
+ '2013-09-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38434
+ )
38435
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
38436
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38437
+ report_cat_date_ranges.start_date between '2013-09-01' and '2013-09-18'
38438
+ or
38439
+ '2013-09-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38440
+ )
38441
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
38442
+  (0.0ms) rollback transaction
38443
+  (0.0ms) begin transaction
38444
+  (0.0ms) rollback transaction
38445
+  (0.0ms) begin transaction
38446
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb
38447
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb (1.5ms)
38448
+  (0.0ms) rollback transaction
38449
+  (0.0ms) begin transaction
38450
+  (0.0ms) rollback transaction
38451
+  (0.0ms) begin transaction
38452
+  (0.0ms) rollback transaction
38453
+  (0.0ms) begin transaction
38454
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38455
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38456
+ or
38457
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38458
+ )
38459
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38460
+  (0.0ms) SAVEPOINT active_record_1
38461
+ 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"]]
38462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38463
+  (0.0ms) SAVEPOINT active_record_1
38464
+ 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"]]
38465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38466
+  (0.0ms) SAVEPOINT active_record_1
38467
+ 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"]]
38468
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38469
+  (0.0ms) SAVEPOINT active_record_1
38470
+ 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"]]
38471
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38472
+  (0.1ms) SAVEPOINT active_record_1
38473
+ 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"]]
38474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38475
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38476
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38477
+ or
38478
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38479
+ )
38480
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
38481
+  (0.5ms) rollback transaction
38482
+  (0.0ms) begin transaction
38483
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38484
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38485
+ or
38486
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38487
+ )
38488
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38489
+  (0.0ms) SAVEPOINT active_record_1
38490
+ 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"]]
38491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38492
+  (0.0ms) SAVEPOINT active_record_1
38493
+ 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"]]
38494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38495
+  (0.0ms) SAVEPOINT active_record_1
38496
+ 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"]]
38497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38498
+  (0.1ms) SAVEPOINT active_record_1
38499
+ 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"]]
38500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38501
+  (0.0ms) SAVEPOINT active_record_1
38502
+ 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"]]
38503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38504
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38505
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38506
+ or
38507
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38508
+ )
38509
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
38510
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38511
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38512
+ or
38513
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38514
+ )
38515
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38516
+  (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 (
38517
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38518
+ or
38519
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38520
+ )
38521
+ 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
38522
+  (0.5ms) rollback transaction
38523
+  (0.0ms) begin transaction
38524
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38525
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38526
+ or
38527
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38528
+ )
38529
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38530
+  (0.1ms) SAVEPOINT active_record_1
38531
+ 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"]]
38532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38533
+  (0.1ms) SAVEPOINT active_record_1
38534
+ 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"]]
38535
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38536
+  (0.0ms) SAVEPOINT active_record_1
38537
+ 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"]]
38538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38539
+  (0.0ms) SAVEPOINT active_record_1
38540
+ 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"]]
38541
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38542
+  (0.0ms) SAVEPOINT active_record_1
38543
+ 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"]]
38544
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38545
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38546
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38547
+ or
38548
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38549
+ )
38550
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
38551
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38552
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38553
+ or
38554
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38555
+ )
38556
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38557
+  (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 (
38558
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38559
+ or
38560
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38561
+ )
38562
+ 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
38563
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38564
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38565
+ or
38566
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38567
+ )
38568
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38569
+  (0.5ms) rollback transaction
38570
+  (0.0ms) begin transaction
38571
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38572
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38573
+ or
38574
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38575
+ )
38576
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38577
+  (0.0ms) SAVEPOINT active_record_1
38578
+ 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"]]
38579
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38580
+  (0.1ms) SAVEPOINT active_record_1
38581
+ 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"]]
38582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38583
+  (0.0ms) SAVEPOINT active_record_1
38584
+ 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"]]
38585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38586
+  (0.0ms) SAVEPOINT active_record_1
38587
+ 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"]]
38588
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38589
+  (0.0ms) SAVEPOINT active_record_1
38590
+ 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"]]
38591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38592
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38593
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38594
+ or
38595
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38596
+ )
38597
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
38598
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38599
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38600
+ or
38601
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38602
+ )
38603
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38604
+  (0.5ms) rollback transaction
38605
+  (0.0ms) begin transaction
38606
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38607
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38608
+ or
38609
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38610
+ )
38611
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38612
+  (0.0ms) SAVEPOINT active_record_1
38613
+ 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"]]
38614
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38615
+  (0.1ms) SAVEPOINT active_record_1
38616
+ 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"]]
38617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38618
+  (0.0ms) SAVEPOINT active_record_1
38619
+ 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"]]
38620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38621
+  (0.0ms) SAVEPOINT active_record_1
38622
+ 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"]]
38623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38624
+  (0.0ms) SAVEPOINT active_record_1
38625
+ 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"]]
38626
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38627
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38628
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38629
+ or
38630
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38631
+ )
38632
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
38633
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38634
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38635
+ or
38636
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38637
+ )
38638
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38639
+  (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 (
38640
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38641
+ or
38642
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38643
+ )
38644
+ 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
38645
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38646
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38647
+ or
38648
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38649
+ )
38650
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38651
+  (0.5ms) rollback transaction
38652
+  (0.0ms) begin transaction
38653
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38654
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38655
+ or
38656
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38657
+ )
38658
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38659
+  (0.0ms) SAVEPOINT active_record_1
38660
+ 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"]]
38661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38662
+  (0.0ms) SAVEPOINT active_record_1
38663
+ 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"]]
38664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38665
+  (0.0ms) SAVEPOINT active_record_1
38666
+ 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"]]
38667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38668
+  (0.0ms) SAVEPOINT active_record_1
38669
+ 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"]]
38670
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38671
+  (0.0ms) SAVEPOINT active_record_1
38672
+ 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"]]
38673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38674
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38675
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38676
+ or
38677
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38678
+ )
38679
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
38680
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38681
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38682
+ or
38683
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38684
+ )
38685
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38686
+  (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 (
38687
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38688
+ or
38689
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38690
+ )
38691
+ 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
38692
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38693
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38694
+ or
38695
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38696
+ )
38697
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38698
+  (0.5ms) rollback transaction
38699
+  (0.0ms) begin transaction
38700
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38701
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38702
+ or
38703
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38704
+ )
38705
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38706
+  (0.0ms) SAVEPOINT active_record_1
38707
+ 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"]]
38708
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38709
+  (0.0ms) SAVEPOINT active_record_1
38710
+ 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"]]
38711
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38712
+  (0.0ms) SAVEPOINT active_record_1
38713
+ 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"]]
38714
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38715
+  (0.0ms) SAVEPOINT active_record_1
38716
+ 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"]]
38717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38718
+  (0.0ms) SAVEPOINT active_record_1
38719
+ 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"]]
38720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38721
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38722
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38723
+ or
38724
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38725
+ )
38726
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
38727
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38728
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38729
+ or
38730
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38731
+ )
38732
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38733
+  (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 (
38734
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38735
+ or
38736
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38737
+ )
38738
+ 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
38739
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38740
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38741
+ or
38742
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38743
+ )
38744
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38745
+  (0.5ms) rollback transaction
38746
+  (0.0ms) begin transaction
38747
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38748
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38749
+ or
38750
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38751
+ )
38752
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38753
+  (0.0ms) SAVEPOINT active_record_1
38754
+ 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"]]
38755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38756
+  (0.0ms) SAVEPOINT active_record_1
38757
+ 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"]]
38758
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38759
+  (0.0ms) SAVEPOINT active_record_1
38760
+ 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"]]
38761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38762
+  (0.0ms) SAVEPOINT active_record_1
38763
+ 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"]]
38764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38765
+  (0.0ms) SAVEPOINT active_record_1
38766
+ 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"]]
38767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38768
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38769
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38770
+ or
38771
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38772
+ )
38773
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
38774
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38775
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38776
+ or
38777
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38778
+ )
38779
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38780
+  (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 (
38781
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38782
+ or
38783
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38784
+ )
38785
+ 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
38786
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38787
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38788
+ or
38789
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38790
+ )
38791
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38792
+  (0.5ms) rollback transaction
38793
+  (0.0ms) begin transaction
38794
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38795
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38796
+ or
38797
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38798
+ )
38799
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38800
+  (0.0ms) SAVEPOINT active_record_1
38801
+ 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"]]
38802
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38803
+  (0.0ms) SAVEPOINT active_record_1
38804
+ 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"]]
38805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38806
+  (0.1ms) SAVEPOINT active_record_1
38807
+ 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"]]
38808
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38809
+  (0.0ms) SAVEPOINT active_record_1
38810
+ 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"]]
38811
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38812
+  (0.0ms) SAVEPOINT active_record_1
38813
+ 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"]]
38814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38815
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38816
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38817
+ or
38818
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38819
+ )
38820
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc LIMIT ? [["LIMIT", 1]]
38821
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38822
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38823
+ or
38824
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38825
+ )
38826
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38827
+  (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 (
38828
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38829
+ or
38830
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38831
+ )
38832
+ 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
38833
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38834
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38835
+ or
38836
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38837
+ )
38838
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38839
+  (0.5ms) rollback transaction
38840
+  (0.0ms) begin transaction
38841
+  (0.0ms) rollback transaction
38842
+  (0.0ms) begin transaction
38843
+  (0.0ms) rollback transaction
38844
+  (0.0ms) begin transaction
38845
+  (0.0ms) rollback transaction
38846
+  (0.0ms) begin transaction
38847
+  (0.0ms) rollback transaction
38848
+  (0.0ms) begin transaction
38849
+  (0.0ms) rollback transaction
38850
+  (0.0ms) begin transaction
38851
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38852
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38853
+ or
38854
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38855
+ )
38856
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38857
+  (0.0ms) SAVEPOINT active_record_1
38858
+ 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"]]
38859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38860
+  (0.0ms) SAVEPOINT active_record_1
38861
+ 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"]]
38862
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38863
+  (0.0ms) SAVEPOINT active_record_1
38864
+ 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"]]
38865
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38866
+  (0.0ms) SAVEPOINT active_record_1
38867
+ 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"]]
38868
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38869
+  (0.1ms) SAVEPOINT active_record_1
38870
+ 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"]]
38871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38872
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38873
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38874
+ or
38875
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38876
+ )
38877
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38878
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38879
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38880
+ or
38881
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38882
+ )
38883
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38884
+  (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 (
38885
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38886
+ or
38887
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38888
+ )
38889
+ 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
38890
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38891
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
38892
+ or
38893
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38894
+ )
38895
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38896
+  (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 (
38897
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
38898
+ or
38899
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38900
+ )
38901
+ 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
38902
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38903
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
38904
+ or
38905
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38906
+ )
38907
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38908
+  (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 (
38909
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
38910
+ or
38911
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38912
+ )
38913
+ 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
38914
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38915
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
38916
+ or
38917
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38918
+ )
38919
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38920
+  (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 (
38921
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
38922
+ or
38923
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38924
+ )
38925
+ 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
38926
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38927
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
38928
+ or
38929
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38930
+ )
38931
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38932
+  (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 (
38933
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
38934
+ or
38935
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38936
+ )
38937
+ 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
38938
+  (0.6ms) rollback transaction
38939
+  (0.1ms) begin transaction
38940
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38941
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38942
+ or
38943
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38944
+ )
38945
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38946
+  (0.1ms) SAVEPOINT active_record_1
38947
+ 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"]]
38948
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38949
+  (0.1ms) SAVEPOINT active_record_1
38950
+ 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"]]
38951
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38952
+  (0.0ms) SAVEPOINT active_record_1
38953
+ 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"]]
38954
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38955
+  (0.0ms) SAVEPOINT active_record_1
38956
+ 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"]]
38957
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38958
+  (0.0ms) SAVEPOINT active_record_1
38959
+ 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"]]
38960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38961
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38962
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
38963
+ or
38964
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38965
+ )
38966
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38967
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38968
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38969
+ or
38970
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38971
+ )
38972
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38973
+  (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 (
38974
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
38975
+ or
38976
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38977
+ )
38978
+ 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
38979
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38980
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
38981
+ or
38982
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38983
+ )
38984
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38985
+  (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 (
38986
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
38987
+ or
38988
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38989
+ )
38990
+ 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
38991
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
38992
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
38993
+ or
38994
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
38995
+ )
38996
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
38997
+  (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 (
38998
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
38999
+ or
39000
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39001
+ )
39002
+ 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
39003
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39004
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
39005
+ or
39006
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39007
+ )
39008
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39009
+  (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 (
39010
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
39011
+ or
39012
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39013
+ )
39014
+ 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
39015
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39016
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
39017
+ or
39018
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39019
+ )
39020
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39021
+  (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 (
39022
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
39023
+ or
39024
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39025
+ )
39026
+ 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
39027
+  (0.1ms) SELECT COUNT(*) FROM "report_cat_date_ranges" WHERE ( (
39028
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
39029
+ or
39030
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39031
+ )
39032
+ and report_cat_date_ranges.period = 'weekly')
39033
+  (0.5ms) rollback transaction
39034
+  (0.0ms) begin transaction
39035
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39036
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
39037
+ or
39038
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39039
+ )
39040
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39041
+  (0.0ms) SAVEPOINT active_record_1
39042
+ 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"]]
39043
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39044
+  (0.0ms) SAVEPOINT active_record_1
39045
+ 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"]]
39046
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39047
+  (0.1ms) SAVEPOINT active_record_1
39048
+ 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"]]
39049
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39050
+  (0.1ms) SAVEPOINT active_record_1
39051
+ 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"]]
39052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39053
+  (0.0ms) SAVEPOINT active_record_1
39054
+ 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"]]
39055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39056
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39057
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
39058
+ or
39059
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39060
+ )
39061
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39062
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39063
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
39064
+ or
39065
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39066
+ )
39067
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39068
+  (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 (
39069
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
39070
+ or
39071
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39072
+ )
39073
+ 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
39074
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39075
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
39076
+ or
39077
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39078
+ )
39079
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39080
+  (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 (
39081
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
39082
+ or
39083
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39084
+ )
39085
+ 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
39086
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39087
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
39088
+ or
39089
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39090
+ )
39091
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39092
+  (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 (
39093
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
39094
+ or
39095
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39096
+ )
39097
+ 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
39098
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39099
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
39100
+ or
39101
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39102
+ )
39103
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39104
+  (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 (
39105
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
39106
+ or
39107
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39108
+ )
39109
+ 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
39110
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39111
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
39112
+ or
39113
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39114
+ )
39115
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39116
+  (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 (
39117
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
39118
+ or
39119
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39120
+ )
39121
+ 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
39122
+  (0.1ms) SELECT COUNT(*) FROM "report_cat_date_ranges" WHERE ( (
39123
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
39124
+ or
39125
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39126
+ )
39127
+ and report_cat_date_ranges.period = 'weekly')
39128
+  (0.5ms) rollback transaction
39129
+  (0.1ms) begin transaction
39130
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39131
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
39132
+ or
39133
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39134
+ )
39135
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39136
+  (0.0ms) SAVEPOINT active_record_1
39137
+ 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"]]
39138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39139
+  (0.0ms) SAVEPOINT active_record_1
39140
+ 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"]]
39141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39142
+  (0.0ms) SAVEPOINT active_record_1
39143
+ 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"]]
39144
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39145
+  (0.0ms) SAVEPOINT active_record_1
39146
+ 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"]]
39147
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39148
+  (0.0ms) SAVEPOINT active_record_1
39149
+ 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"]]
39150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39151
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39152
+ report_cat_date_ranges.start_date between '2013-01-01' and '2013-01-31'
39153
+ or
39154
+ '2013-01-01' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39155
+ )
39156
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39157
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39158
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
39159
+ or
39160
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39161
+ )
39162
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39163
+  (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 (
39164
+ report_cat_date_ranges.start_date between '2012-12-31' and '2013-01-31'
39165
+ or
39166
+ '2012-12-31' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39167
+ )
39168
+ 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
39169
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39170
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
39171
+ or
39172
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39173
+ )
39174
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39175
+  (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 (
39176
+ report_cat_date_ranges.start_date between '2013-01-07' and '2013-01-31'
39177
+ or
39178
+ '2013-01-07' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39179
+ )
39180
+ 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
39181
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39182
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
39183
+ or
39184
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39185
+ )
39186
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39187
+  (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 (
39188
+ report_cat_date_ranges.start_date between '2013-01-14' and '2013-01-31'
39189
+ or
39190
+ '2013-01-14' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39191
+ )
39192
+ 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
39193
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39194
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
39195
+ or
39196
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39197
+ )
39198
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39199
+  (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 (
39200
+ report_cat_date_ranges.start_date between '2013-01-21' and '2013-01-31'
39201
+ or
39202
+ '2013-01-21' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39203
+ )
39204
+ 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
39205
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39206
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
39207
+ or
39208
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39209
+ )
39210
+ and report_cat_date_ranges.period = 'weekly') ORDER BY report_cat_date_ranges.start_date asc
39211
+  (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 (
39212
+ report_cat_date_ranges.start_date between '2013-01-28' and '2013-01-31'
39213
+ or
39214
+ '2013-01-28' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39215
+ )
39216
+ 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
39217
+  (0.4ms) rollback transaction
39218
+  (0.0ms) begin transaction
39219
+  (0.0ms) rollback transaction
39220
+  (0.0ms) begin transaction
39221
+  (0.0ms) rollback transaction
39222
+  (0.0ms) begin transaction
39223
+  (0.1ms) rollback transaction
39224
+  (0.0ms) begin transaction
39225
+  (0.0ms) rollback transaction
39226
+  (0.0ms) begin transaction
39227
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb
39228
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/_google_charts.html.erb (0.7ms)
39229
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb (30.8ms)
39230
+  (0.0ms) rollback transaction
39231
+  (0.0ms) begin transaction
39232
+  (0.0ms) rollback transaction
39233
+  (0.0ms) begin transaction
39234
+  (0.0ms) rollback transaction
39235
+  (0.0ms) begin transaction
39236
+  (0.0ms) rollback transaction
39237
+  (0.0ms) begin transaction
39238
+  (0.0ms) rollback transaction
39239
+  (0.0ms) begin transaction
39240
+  (0.0ms) rollback transaction
39241
+  (0.0ms) begin transaction
39242
+  (0.0ms) rollback transaction
39243
+  (0.0ms) begin transaction
39244
+  (0.0ms) rollback transaction
39245
+  (0.0ms) begin transaction
39246
+  (0.0ms) rollback transaction
39247
+  (0.0ms) begin transaction
39248
+  (0.0ms) rollback transaction
39249
+  (0.0ms) begin transaction
39250
+  (0.0ms) rollback transaction
39251
+  (0.0ms) begin transaction
39252
+  (0.0ms) rollback transaction
39253
+  (0.0ms) begin transaction
39254
+  (0.0ms) rollback transaction
39255
+  (0.0ms) begin transaction
39256
+  (0.0ms) rollback transaction
39257
+  (0.0ms) begin transaction
39258
+  (0.1ms) rollback transaction
39259
+  (0.0ms) begin transaction
39260
+  (0.1ms) rollback transaction
39261
+  (0.0ms) begin transaction
39262
+ Processing by ReportCat::ReportsController#show as HTML
39263
+ Parameters: {"id"=>"test"}
39264
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin
39265
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
39266
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin (0.4ms)
39267
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
39268
+ Completed 200 OK in 10ms (Views: 4.5ms | ActiveRecord: 0.0ms)
39269
+  (0.0ms) rollback transaction
39270
+  (0.0ms) begin transaction
39271
+ Processing by ReportCat::ReportsController#show as HTML
39272
+ Parameters: {"id"=>"test"}
39273
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin
39274
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin (0.1ms)
39275
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
39276
+  (0.0ms) rollback transaction
39277
+  (0.0ms) begin transaction
39278
+ Processing by ReportCat::ReportsController#show as HTML
39279
+ Parameters: {"id"=>"test"}
39280
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin
39281
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/show.html.erb within layouts/admin (0.0ms)
39282
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
39283
+  (0.0ms) rollback transaction
39284
+  (0.0ms) begin transaction
39285
+ Processing by ReportCat::ReportsController#show as CSV
39286
+ Parameters: {"id"=>"test"}
39287
+ Rendering text template
39288
+ Rendered text template (0.0ms)
39289
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
39290
+  (0.0ms) rollback transaction
39291
+  (0.0ms) begin transaction
39292
+ Processing by ReportCat::ReportsController#index as HTML
39293
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin
39294
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
39295
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin (0.3ms)
39296
+ Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.0ms)
39297
+  (0.0ms) rollback transaction
39298
+  (0.0ms) begin transaction
39299
+ Processing by ReportCat::ReportsController#index as HTML
39300
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin
39301
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin (0.0ms)
39302
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
39303
+  (0.0ms) rollback transaction
39304
+  (0.0ms) begin transaction
39305
+  (0.0ms) rollback transaction
39306
+  (0.0ms) begin transaction
39307
+ Processing by ReportCat::ReportsController#index as HTML
39308
+ Rendering /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin
39309
+ Rendered /Users/rdh/schrodingersbox/report_cat/app/views/report_cat/reports/index.html.erb within layouts/admin (0.1ms)
39310
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
39311
+  (0.0ms) rollback transaction
39312
+  (0.0ms) begin transaction
39313
+  (0.0ms) rollback transaction
39314
+  (0.0ms) begin transaction
39315
+  (0.0ms) rollback transaction
39316
+  (0.0ms) begin transaction
39317
+  (0.0ms) rollback transaction
39318
+  (0.0ms) begin transaction
39319
+  (0.0ms) rollback transaction
39320
+  (0.0ms) begin transaction
39321
+  (0.1ms) rollback transaction
39322
+  (0.0ms) begin transaction
39323
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39324
+ report_cat_date_ranges.start_date between '2013-09-15' and '2013-09-18'
39325
+ or
39326
+ '2013-09-15' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39327
+ )
39328
+ and report_cat_date_ranges.period = 'daily') ORDER BY report_cat_date_ranges.start_date asc
39329
+  (0.0ms) rollback transaction
39330
+  (0.0ms) begin transaction
39331
+  (0.1ms) SELECT COUNT(*) FROM "report_cat_date_ranges"
39332
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39333
+ report_cat_date_ranges.start_date between '2013-09-15' and '2013-09-18'
39334
+ or
39335
+ '2013-09-15' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39336
+ )
39337
+ and report_cat_date_ranges.period = 'daily') ORDER BY report_cat_date_ranges.start_date asc
39338
+  (0.0ms) SAVEPOINT active_record_1
39339
+ 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"]]
39340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39341
+  (0.0ms) SAVEPOINT active_record_1
39342
+ 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"]]
39343
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39344
+  (0.0ms) SAVEPOINT active_record_1
39345
+ 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"]]
39346
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39347
+  (0.0ms) SAVEPOINT active_record_1
39348
+ 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"]]
39349
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39350
+  (0.0ms) SELECT COUNT(*) FROM "report_cat_date_ranges"
39351
+ 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]]
39352
+ ReportCat::DateRange Load (0.0ms) 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]]
39353
+ ReportCat::DateRange Load (0.0ms) 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]]
39354
+ ReportCat::DateRange Load (0.0ms) 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]]
39355
+  (0.5ms) rollback transaction
39356
+  (0.0ms) begin transaction
39357
+ ReportCat::DateRange Load (0.2ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39358
+ report_cat_date_ranges.start_date between '2013-09-15' and '2013-09-18'
39359
+ or
39360
+ '2013-09-15' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39361
+ )
39362
+ and report_cat_date_ranges.period = 'daily') ORDER BY report_cat_date_ranges.start_date asc
39363
+  (0.0ms) SAVEPOINT active_record_1
39364
+ 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"]]
39365
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39366
+  (0.0ms) SAVEPOINT active_record_1
39367
+ 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"]]
39368
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39369
+  (0.0ms) SAVEPOINT active_record_1
39370
+ 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"]]
39371
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39372
+  (0.0ms) SAVEPOINT active_record_1
39373
+ 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"]]
39374
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39375
+ ReportCat::DateRange Load (0.1ms) SELECT "report_cat_date_ranges".* FROM "report_cat_date_ranges" WHERE ( (
39376
+ report_cat_date_ranges.start_date between '2013-09-15' and '2013-09-18'
39377
+ or
39378
+ '2013-09-15' between report_cat_date_ranges.start_date and report_cat_date_ranges.stop_date
39379
+ )
39380
+ and report_cat_date_ranges.period = 'daily') ORDER BY report_cat_date_ranges.start_date asc
39381
+  (0.5ms) rollback transaction
39382
+  (0.0ms) begin transaction
39383
+  (0.0ms) rollback transaction
39384
+  (0.1ms) begin transaction
39385
+  (0.0ms) rollback transaction
39386
+  (0.0ms) begin transaction
39387
+  (0.1ms) rollback transaction
39388
+  (0.0ms) begin transaction
39389
+  (0.0ms) rollback transaction
39390
+  (0.0ms) begin transaction
39391
+  (0.0ms) rollback transaction
39392
+  (0.0ms) begin transaction
39393
+  (0.0ms) rollback transaction
39394
+  (0.0ms) begin transaction
39395
+  (0.0ms) rollback transaction
39396
+  (0.0ms) begin transaction
39397
+  (0.0ms) rollback transaction
39398
+  (0.0ms) begin transaction
39399
+  (0.0ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: report_cat
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.2
4
+ version: 5.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rich Humphrey