best_boy 1.3.0 → 2.0.0

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.
Files changed (69) hide show
  1. data/README.md +36 -3
  2. data/Rakefile +45 -7
  3. data/app/controllers/best_boy/best_boy_events_controller.rb +147 -98
  4. data/app/helpers/best_boy/best_boy_view_helper.rb +9 -0
  5. data/app/views/best_boy/best_boy_events/details.html.erb +33 -27
  6. data/app/views/best_boy/best_boy_events/monthly_details.html.erb +9 -9
  7. data/app/views/best_boy/best_boy_events/stats.html.erb +20 -19
  8. data/lib/best_boy/engine.rb +2 -0
  9. data/lib/best_boy/models/active_record/best_boy/eventable.rb +19 -0
  10. data/lib/best_boy/models/active_record/best_boy_day_report.rb +65 -0
  11. data/lib/best_boy/models/active_record/best_boy_event.rb +1 -11
  12. data/lib/best_boy/models/active_record/best_boy_month_report.rb +63 -0
  13. data/lib/best_boy/version.rb +1 -1
  14. data/lib/generators/active_record/best_boy_generator.rb +4 -1
  15. data/lib/generators/active_record/templates/create_best_boy_reports.rb +30 -0
  16. data/lib/tasks/recover_report_history.rake +146 -0
  17. data/spec/{best_boy → controllers}/best_boy_controller_spec.rb +6 -4
  18. data/spec/dummy/app/views/test_events/index.html.haml +9 -1
  19. data/spec/dummy/config/routes.rb +1 -0
  20. data/spec/dummy/db/migrate/20131108085915_create_best_boy_reports.rb +30 -0
  21. data/spec/dummy/db/schema.rb +27 -1
  22. data/spec/dummy/db/test.sqlite3 +0 -0
  23. data/spec/dummy/log/development.log +10092 -0
  24. data/spec/dummy/log/test.log +531 -0
  25. data/spec/dummy/tmp/cache/assets/development/sass/f99cb4f6f36f128b2d6950c813eec72c66616bfc/bootstrap.scssc +0 -0
  26. data/spec/dummy/tmp/cache/assets/development/sprockets/01af51e20498d87feb18694bed0d0731 +0 -0
  27. data/spec/dummy/tmp/cache/assets/development/sprockets/057daf732c672b9e0ec8bd233ec79077 +0 -0
  28. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  29. data/spec/dummy/tmp/cache/assets/development/sprockets/1565c81151c1e0fe577f787a645bca3d +0 -0
  30. data/spec/dummy/tmp/cache/assets/development/sprockets/1c90620581903652712500bb92915909 +0 -0
  31. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  32. data/spec/dummy/tmp/cache/assets/development/sprockets/3241270f308313221453f51980c07883 +0 -0
  33. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  34. data/spec/dummy/tmp/cache/assets/development/sprockets/3a59d6acf2f4543a36d946d653b08dab +0 -0
  35. data/spec/dummy/tmp/cache/assets/development/sprockets/3a5f8aba9c98833836df55cdc5502ee8 +0 -0
  36. data/spec/dummy/tmp/cache/assets/development/sprockets/42804a4f90448633879c06a33e49f4e6 +0 -0
  37. data/spec/dummy/tmp/cache/assets/development/sprockets/48279ff6b6f65f85e766c3a7ae0c71f6 +0 -0
  38. data/spec/dummy/tmp/cache/assets/development/sprockets/642b8ba757f92502a3a3281a956eec2a +0 -0
  39. data/spec/dummy/tmp/cache/assets/development/sprockets/64fe0e7bbf53d3cf292e85e123137bcb +0 -0
  40. data/spec/dummy/tmp/cache/assets/development/sprockets/77e01a708457c1d4aac9446e173321a1 +0 -0
  41. data/spec/dummy/tmp/cache/assets/development/sprockets/8ac87e607a25fc208fc1da0c60b24b8b +0 -0
  42. data/spec/dummy/tmp/cache/assets/development/sprockets/8dab559778ce584628d484b9d919cfa8 +0 -0
  43. data/spec/dummy/tmp/cache/assets/development/sprockets/8fde9b9595ed926214e7858402849bb2 +0 -0
  44. data/spec/dummy/tmp/cache/assets/development/sprockets/c9e7400c0b4cf9165368acf909971237 +0 -0
  45. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  46. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  47. data/spec/dummy/tmp/cache/assets/development/sprockets/e58e48ebcd3216893f3b053ee6a3d7eb +0 -0
  48. data/spec/dummy/tmp/cache/assets/development/sprockets/e5cfb1a438298274f827c0cbea06e7dc +0 -0
  49. data/spec/dummy/tmp/cache/assets/development/sprockets/f14dc22e71f0438b9fc154ec08da7c10 +0 -0
  50. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  51. data/spec/models/best_boy_event_spec.rb +20 -0
  52. data/spec/models/day_report_spec.rb +115 -0
  53. data/spec/models/eventable_spec.rb +51 -0
  54. data/spec/models/month_report_spec.rb +113 -0
  55. data/spec/spec_helper.rb +96 -40
  56. metadata +110 -123
  57. data/.gitignore +0 -10
  58. data/.rspec +0 -1
  59. data/.travis.yml +0 -3
  60. data/Gemfile +0 -3
  61. data/LICENSE.txt +0 -20
  62. data/best_boy.gemspec +0 -38
  63. data/db/bestboy.db +0 -0
  64. data/spec/best_boy/best_boy_event_spec.rb +0 -62
  65. data/spec/best_boy/eventable_spec.rb +0 -20
  66. data/spec/dummy/app/mailers/.gitkeep +0 -0
  67. data/spec/dummy/app/models/.gitkeep +0 -0
  68. data/spec/dummy/db/development.sqlite3 +0 -0
  69. data/spec/dummy/lib/assets/.gitkeep +0 -0
@@ -0,0 +1,531 @@
1
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'ExampleClass' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
2
+  (0.1ms) begin transaction
3
+ SQL (1.9ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_type", "ExampleClass"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
4
+  (2.1ms) commit transaction
5
+  (0.1ms) begin transaction
6
+ SQL (0.8ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["month_report_id", 1], ["owner_type", "ExampleClass"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
7
+  (0.9ms) commit transaction
8
+ BestBoy::MonthReport Load (0.3ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'ExampleClass' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" = 'api' AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
9
+  (0.1ms) begin transaction
10
+ SQL (0.8ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "event_source", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["event_source", "api"], ["owner_type", "ExampleClass"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
11
+  (0.8ms) commit transaction
12
+  (0.1ms) begin transaction
13
+ SQL (0.7ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "event_source", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["event_source", "api"], ["month_report_id", 2], ["owner_type", "ExampleClass"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
14
+  (1.2ms) commit transaction
15
+ BestBoy::DayReport Load (0.3ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'ExampleClass' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
16
+ BestBoy::DayReport Load (0.3ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'ExampleClass' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" = 'api' AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
17
+  (0.1ms) begin transaction
18
+ SQL (0.6ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
19
+ SQL (0.6ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 1], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
20
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
21
+ SQL (0.3ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
22
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
23
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
24
+ SQL (0.5ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["month_report_id", 3], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
25
+ SQL (0.3ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 3 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
26
+ SQL (0.3ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 3 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
27
+  (1.3ms) commit transaction
28
+ BestBoy::MonthReport Load (0.3ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
29
+  (0.1ms) begin transaction
30
+ SQL (0.7ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["month_report_id", 3], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
31
+  (0.9ms) commit transaction
32
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" = 'api' AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
33
+  (0.1ms) begin transaction
34
+ SQL (0.6ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "event_source", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["event_source", "api"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
35
+  (1.0ms) commit transaction
36
+  (0.1ms) begin transaction
37
+ SQL (0.7ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "event_source", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["event_source", "api"], ["month_report_id", 4], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
38
+  (1.1ms) commit transaction
39
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
40
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" = 'api' AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
41
+  (0.1ms) begin transaction
42
+ SQL (0.5ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
43
+ SQL (0.3ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 2], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
44
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
45
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
46
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 4 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
47
+ SQL (0.1ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 3 [["occurrences", 2], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
48
+  (1.2ms) commit transaction
49
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
50
+  (0.0ms) begin transaction
51
+ SQL (0.5ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["month_report_id", 3], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
52
+  (1.2ms) commit transaction
53
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" = 'api' AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
54
+  (0.0ms) begin transaction
55
+ SQL (0.4ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "event_source", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["event_source", "api"], ["month_report_id", 4], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
56
+  (1.0ms) commit transaction
57
+  (0.1ms) begin transaction
58
+ SQL (0.6ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_type", "TestEventClass"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
59
+  (1.0ms) commit transaction
60
+  (0.0ms) begin transaction
61
+ SQL (0.4ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "event_source", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["event_source", "api"], ["owner_type", "TestEventClass"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
62
+  (1.0ms) commit transaction
63
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEventClass' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
64
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEventClass' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" = 'api' AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
65
+  (0.1ms) begin transaction
66
+ SQL (0.5ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
67
+ SQL (0.4ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 3], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
68
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
69
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
70
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
71
+ SQL (0.1ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 3 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
72
+  (1.1ms) commit transaction
73
+  (0.1ms) begin transaction
74
+ SQL (0.4ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
75
+  (1.0ms) commit transaction
76
+  (0.1ms) begin transaction
77
+ SQL (0.4ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "event_source", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["event_source", "api"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
78
+  (1.0ms) commit transaction
79
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
80
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" = 'api' AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
81
+  (0.1ms) begin transaction
82
+ SQL (0.7ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
83
+ SQL (0.3ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 4], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
84
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
85
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
86
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 2], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
87
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 7 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
88
+  (1.2ms) commit transaction
89
+  (0.1ms) begin transaction
90
+ SQL (0.5ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
91
+  (1.2ms) commit transaction
92
+  (0.1ms) begin transaction
93
+ SQL (0.5ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "event_source", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["event_source", "api"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
94
+  (1.0ms) commit transaction
95
+  (0.2ms) begin transaction
96
+  (0.1ms) SAVEPOINT active_record_1
97
+ SQL (0.6ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
98
+ SQL (0.3ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
99
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
100
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
101
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
102
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104
+  (0.0ms) SAVEPOINT active_record_1
105
+ SQL (0.5ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "testing"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
107
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'testing' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
108
+  (0.1ms) SAVEPOINT active_record_1
109
+ SQL (0.4ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "testing"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
110
+  (0.1ms) RELEASE SAVEPOINT active_record_1
111
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'testing' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
112
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'testing' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
113
+  (0.0ms) SAVEPOINT active_record_1
114
+ SQL (0.3ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "testing"], ["month_report_id", 11], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
115
+  (0.0ms) RELEASE SAVEPOINT active_record_1
116
+  (0.0ms) SAVEPOINT active_record_1
117
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 8 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
118
+  (0.0ms) RELEASE SAVEPOINT active_record_1
119
+  (0.0ms) SAVEPOINT active_record_1
120
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 11 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
121
+  (0.0ms) RELEASE SAVEPOINT active_record_1
122
+ BestBoyEvent Load (0.1ms) SELECT "best_boy_events".* FROM "best_boy_events" WHERE "best_boy_events"."owner_id" = 5 AND "best_boy_events"."owner_type" = 'TestEvent' AND "best_boy_events"."event" = 'testing' ORDER BY "best_boy_events"."id" ASC LIMIT 1
123
+  (1.9ms) rollback transaction
124
+  (0.1ms) begin transaction
125
+  (0.1ms) SAVEPOINT active_record_1
126
+ SQL (0.5ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
127
+ SQL (0.3ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
128
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
129
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
130
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
131
+ SQL (0.3ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
133
+  (0.7ms) rollback transaction
134
+  (0.1ms) begin transaction
135
+  (0.1ms) SAVEPOINT active_record_1
136
+ SQL (0.7ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
137
+ SQL (0.4ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
138
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
139
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
140
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
141
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
142
+  (0.1ms) RELEASE SAVEPOINT active_record_1
143
+  (0.6ms) rollback transaction
144
+  (0.1ms) begin transaction
145
+  (0.1ms) SAVEPOINT active_record_1
146
+ SQL (0.5ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
147
+ SQL (0.5ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
148
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
149
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
150
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
151
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
152
+  (0.1ms) RELEASE SAVEPOINT active_record_1
153
+  (0.0ms) SAVEPOINT active_record_1
154
+ SQL (0.5ms) INSERT INTO "best_boy_events" ("created_at", "event", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
155
+  (0.0ms) RELEASE SAVEPOINT active_record_1
156
+  (0.5ms) rollback transaction
157
+  (0.1ms) begin transaction
158
+  (0.1ms) rollback transaction
159
+  (0.1ms) begin transaction
160
+  (0.0ms) SAVEPOINT active_record_1
161
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
162
+  (0.0ms) rollback transaction
163
+  (0.1ms) begin transaction
164
+  (0.1ms) SAVEPOINT active_record_1
165
+ SQL (0.5ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
166
+ SQL (21.6ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
167
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
168
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
169
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
170
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
172
+  (0.0ms) SAVEPOINT active_record_1
173
+ SQL (0.5ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
174
+  (0.1ms) RELEASE SAVEPOINT active_record_1
175
+  (0.0ms) SAVEPOINT active_record_1
176
+ SQL (0.4ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["month_report_id", 11], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
177
+  (0.0ms) RELEASE SAVEPOINT active_record_1
178
+  (0.8ms) rollback transaction
179
+  (0.1ms) begin transaction
180
+  (0.1ms) SAVEPOINT active_record_1
181
+ SQL (0.7ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
182
+ SQL (0.3ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
183
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
184
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
185
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
186
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
187
+  (0.1ms) RELEASE SAVEPOINT active_record_1
188
+  (0.1ms) SAVEPOINT active_record_1
189
+ SQL (0.5ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
191
+  (0.0ms) SAVEPOINT active_record_1
192
+ SQL (0.3ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["month_report_id", 11], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
194
+  (0.7ms) rollback transaction
195
+  (0.1ms) begin transaction
196
+  (0.1ms) SAVEPOINT active_record_1
197
+ SQL (0.6ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
198
+ SQL (0.3ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
199
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
200
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
201
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
202
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
204
+  (0.0ms) SAVEPOINT active_record_1
205
+ SQL (0.6ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
207
+  (0.0ms) SAVEPOINT active_record_1
208
+ SQL (0.3ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["month_report_id", 11], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
210
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY created_at DESC
211
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE ("best_boy_day_reports"."created_at" BETWEEN '2013-11-06 23:00:00.000000' AND '2013-11-07 22:59:59.999999') ORDER BY created_at DESC
212
+  (0.8ms) rollback transaction
213
+  (0.1ms) begin transaction
214
+  (0.0ms) SAVEPOINT active_record_1
215
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
216
+  (0.0ms) SAVEPOINT active_record_1
217
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
218
+  (0.1ms) SAVEPOINT active_record_1
219
+ SQL (0.5ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
220
+ SQL (0.4ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
221
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
222
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
223
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
224
+ SQL (0.1ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
225
+  (0.0ms) RELEASE SAVEPOINT active_record_1
226
+  (0.0ms) SAVEPOINT active_record_1
227
+ SQL (0.4ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
229
+  (0.0ms) SAVEPOINT active_record_1
230
+ SQL (0.3ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["month_report_id", 11], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
231
+  (0.0ms) RELEASE SAVEPOINT active_record_1
232
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE ("best_boy_day_reports"."created_at" BETWEEN '2013-11-03 23:00:00.000000' AND '2013-11-08 10:17:18.942893') ORDER BY created_at DESC
233
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE ("best_boy_day_reports"."created_at" BETWEEN '2013-11-03 23:00:00.000000' AND '2013-11-08 10:17:18.944723') ORDER BY created_at DESC
234
+  (0.7ms) rollback transaction
235
+  (0.1ms) begin transaction
236
+  (0.1ms) rollback transaction
237
+  (0.1ms) begin transaction
238
+  (0.1ms) rollback transaction
239
+  (0.1ms) begin transaction
240
+  (0.2ms) SELECT COUNT(*) FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'GibberishClass' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999')
241
+  (0.1ms) rollback transaction
242
+  (0.1ms) begin transaction
243
+  (0.1ms) rollback transaction
244
+  (0.1ms) begin transaction
245
+  (0.0ms) rollback transaction
246
+  (0.1ms) begin transaction
247
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports"
248
+  (0.0ms) SAVEPOINT active_record_1
249
+ SQL (0.3ms) DELETE FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."id" = ? [["id", 1]]
250
+  (0.1ms) RELEASE SAVEPOINT active_record_1
251
+  (0.1ms) SAVEPOINT active_record_1
252
+ SQL (0.3ms) DELETE FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."id" = ? [["id", 2]]
253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
254
+  (0.0ms) SAVEPOINT active_record_1
255
+ SQL (0.1ms) DELETE FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."id" = ? [["id", 3]]
256
+  (0.0ms) RELEASE SAVEPOINT active_record_1
257
+  (0.0ms) SAVEPOINT active_record_1
258
+ SQL (0.1ms) DELETE FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."id" = ? [["id", 4]]
259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
260
+  (0.0ms) SAVEPOINT active_record_1
261
+ SQL (0.1ms) DELETE FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."id" = ? [["id", 5]]
262
+  (0.0ms) RELEASE SAVEPOINT active_record_1
263
+  (0.0ms) SAVEPOINT active_record_1
264
+ SQL (0.1ms) DELETE FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."id" = ? [["id", 6]]
265
+  (0.0ms) RELEASE SAVEPOINT active_record_1
266
+  (0.0ms) SAVEPOINT active_record_1
267
+ SQL (0.1ms) DELETE FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."id" = ? [["id", 7]]
268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
269
+  (0.1ms) SELECT COUNT(*) FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999')
270
+  (0.0ms) SAVEPOINT active_record_1
271
+ SQL (0.3ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
272
+ SQL (0.3ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
273
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
274
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
275
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
276
+ SQL (0.2ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["month_report_id", 9], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
277
+ SQL (0.1ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 8 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
278
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
280
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
281
+  (0.1ms) SELECT COUNT(*) FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999')
282
+  (0.8ms) rollback transaction
283
+  (0.1ms) begin transaction
284
+  (0.1ms) rollback transaction
285
+  (0.1ms) begin transaction
286
+  (0.1ms) rollback transaction
287
+  (0.1ms) begin transaction
288
+  (0.1ms) rollback transaction
289
+  (0.1ms) begin transaction
290
+  (0.1ms) rollback transaction
291
+  (0.1ms) begin transaction
292
+  (0.1ms) rollback transaction
293
+  (0.1ms) begin transaction
294
+  (0.1ms) rollback transaction
295
+  (0.1ms) begin transaction
296
+  (0.1ms) SAVEPOINT active_record_1
297
+ SQL (0.5ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
298
+ SQL (0.5ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:18 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
299
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
300
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
301
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
302
+ SQL (0.1ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:18 CET +01:00]]
303
+  (0.0ms) RELEASE SAVEPOINT active_record_1
304
+ BestBoyEvent Load (0.2ms) SELECT "best_boy_events".* FROM "best_boy_events" WHERE "best_boy_events"."owner_id" = ? AND "best_boy_events"."owner_type" = ? ORDER BY "best_boy_events"."id" ASC LIMIT 1 [["owner_id", 5], ["owner_type", "TestEvent"]]
305
+  (0.9ms) rollback transaction
306
+  (0.1ms) begin transaction
307
+  (0.1ms) SAVEPOINT active_record_1
308
+ SQL (0.8ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
309
+ SQL (0.5ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
310
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
311
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
312
+ SQL (0.3ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
313
+ SQL (0.3ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
314
+  (0.1ms) RELEASE SAVEPOINT active_record_1
315
+  (0.1ms) SAVEPOINT active_record_1
316
+ SQL (0.6ms) UPDATE "best_boy_events" SET "owner_id" = NULL WHERE "best_boy_events"."owner_id" = ? AND "best_boy_events"."owner_type" = ? [["owner_id", 5], ["owner_type", "TestEvent"]]
317
+ SQL (0.2ms) DELETE FROM "test_events" WHERE "test_events"."id" = ? [["id", 5]]
318
+ SQL (0.7ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "destroy"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
319
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'destroy' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
320
+ SQL (0.5ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "destroy"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
321
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'destroy' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
322
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'destroy' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
323
+ SQL (0.6ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "destroy"], ["month_report_id", 11], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
324
+ SQL (0.3ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 8 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
325
+ SQL (0.3ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 11 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
326
+  (0.1ms) RELEASE SAVEPOINT active_record_1
327
+  (0.7ms) rollback transaction
328
+  (0.1ms) begin transaction
329
+  (0.1ms) SAVEPOINT active_record_1
330
+ SQL (0.9ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
331
+ SQL (0.6ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
332
+ BestBoy::MonthReport Load (0.3ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
333
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
334
+ SQL (0.3ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
335
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
336
+  (0.1ms) RELEASE SAVEPOINT active_record_1
337
+  (0.6ms) rollback transaction
338
+  (0.1ms) begin transaction
339
+  (0.1ms) SAVEPOINT active_record_1
340
+ SQL (0.6ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
341
+ SQL (0.5ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
342
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
343
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
344
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
345
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
346
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347
+ BestBoy::MonthReport Load (0.3ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' ORDER BY "best_boy_month_reports"."id" ASC LIMIT 1
348
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' ORDER BY "best_boy_day_reports"."id" ASC LIMIT 1
349
+  (0.6ms) rollback transaction
350
+  (0.1ms) begin transaction
351
+  (0.1ms) SAVEPOINT active_record_1
352
+ SQL (0.6ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
353
+ SQL (0.3ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
354
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
355
+ BestBoy::DayReport Load (0.3ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
356
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
357
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
358
+  (0.1ms) RELEASE SAVEPOINT active_record_1
359
+  (0.1ms) SAVEPOINT active_record_1
360
+ SQL (0.7ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
361
+ SQL (0.5ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_id", 6], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
362
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
363
+ BestBoy::DayReport Load (0.3ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
364
+  (0.1ms) RELEASE SAVEPOINT active_record_1
365
+  (0.9ms) rollback transaction
366
+  (0.1ms) begin transaction
367
+  (0.1ms) SAVEPOINT active_record_1
368
+ SQL (0.6ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
369
+ SQL (0.4ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
370
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
371
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
372
+ SQL (0.3ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
373
+ SQL (0.3ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
375
+ TestEvent Load (0.1ms) SELECT "test_events".* FROM "test_events" ORDER BY "test_events"."id" ASC LIMIT 1
376
+  (0.1ms) SAVEPOINT active_record_1
377
+ SQL (0.4ms) UPDATE "best_boy_events" SET "owner_id" = NULL WHERE "best_boy_events"."owner_id" = ? AND "best_boy_events"."owner_type" = ? [["owner_id", 1], ["owner_type", "TestEvent"]]
378
+ SQL (0.1ms) DELETE FROM "test_events" WHERE "test_events"."id" = ? [["id", 1]]
379
+ SQL (0.4ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "destroy"], ["owner_id", 1], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
380
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'destroy' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
381
+ SQL (0.3ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "destroy"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
382
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'destroy' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
383
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'destroy' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
384
+ SQL (0.3ms) INSERT INTO "best_boy_day_reports" ("created_at", "event", "month_report_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "destroy"], ["month_report_id", 11], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
385
+  (0.1ms) RELEASE SAVEPOINT active_record_1
386
+  (0.8ms) rollback transaction
387
+  (0.1ms) begin transaction
388
+  (0.1ms) SAVEPOINT active_record_1
389
+ SQL (0.5ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
390
+ SQL (0.3ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
391
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
392
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
393
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
394
+ SQL (0.1ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
396
+  (0.1ms) SAVEPOINT active_record_1
397
+ SQL (0.5ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
399
+  (0.7ms) rollback transaction
400
+  (0.1ms) begin transaction
401
+  (0.1ms) SAVEPOINT active_record_1
402
+ SQL (0.5ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
403
+ SQL (0.5ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
404
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
405
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
406
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
407
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
409
+  (0.0ms) SAVEPOINT active_record_1
410
+ SQL (0.8ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
411
+  (0.1ms) RELEASE SAVEPOINT active_record_1
412
+  (0.8ms) rollback transaction
413
+  (0.1ms) begin transaction
414
+  (0.1ms) SAVEPOINT active_record_1
415
+ SQL (0.5ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
416
+ SQL (0.3ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
417
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
418
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
419
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
420
+ SQL (0.2ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
422
+  (0.0ms) SAVEPOINT active_record_1
423
+ SQL (0.5ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
425
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY created_at DESC
426
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE ("best_boy_month_reports"."created_at" BETWEEN '2013-08-31 22:00:00.000000' AND '2013-09-08 21:59:59.999999') ORDER BY created_at DESC
427
+  (0.7ms) rollback transaction
428
+  (0.1ms) begin transaction
429
+  (0.1ms) SAVEPOINT active_record_1
430
+ SQL (0.5ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
431
+  (0.1ms) RELEASE SAVEPOINT active_record_1
432
+  (0.0ms) SAVEPOINT active_record_1
433
+ SQL (0.4ms) UPDATE "best_boy_month_reports" SET "created_at" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 11 [["created_at", Sun, 08 Sep 2013 11:17:19 CEST +02:00], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
435
+  (0.1ms) SAVEPOINT active_record_1
436
+ SQL (0.3ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
437
+  (0.1ms) RELEASE SAVEPOINT active_record_1
438
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE ("best_boy_month_reports"."created_at" BETWEEN '2013-08-07 22:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY created_at DESC
439
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE ("best_boy_month_reports"."created_at" BETWEEN '2013-08-07 22:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY created_at DESC
440
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE ("best_boy_month_reports"."created_at" BETWEEN '2013-10-07 22:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY created_at DESC
441
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE ("best_boy_month_reports"."created_at" BETWEEN '2013-08-07 22:00:00.000000' AND '2013-09-08 21:59:59.999999') ORDER BY created_at DESC
442
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE ("best_boy_month_reports"."created_at" BETWEEN '2013-05-07 22:00:00.000000' AND '2013-07-08 21:59:59.999999') ORDER BY created_at DESC
443
+  (0.6ms) rollback transaction
444
+  (0.1ms) begin transaction
445
+  (0.1ms) SAVEPOINT active_record_1
446
+ SQL (0.5ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
447
+ SQL (0.3ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
448
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
449
+ BestBoy::DayReport Load (0.2ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
450
+ SQL (0.4ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
451
+ SQL (0.4ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 9 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
452
+  (0.1ms) RELEASE SAVEPOINT active_record_1
453
+  (0.1ms) SAVEPOINT active_record_1
454
+ SQL (0.6ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
455
+  (0.1ms) RELEASE SAVEPOINT active_record_1
456
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE ("best_boy_month_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY created_at DESC
457
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE ("best_boy_month_reports"."created_at" BETWEEN '2013-11-06 23:00:00.000000' AND '2013-11-07 22:59:59.999999') ORDER BY created_at DESC
458
+  (0.8ms) rollback transaction
459
+  (0.1ms) begin transaction
460
+  (0.1ms) rollback transaction
461
+  (0.1ms) begin transaction
462
+  (0.1ms) rollback transaction
463
+  (0.1ms) begin transaction
464
+  (0.3ms) SELECT COUNT(*) FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'GibberishClass' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999')
465
+  (0.1ms) rollback transaction
466
+  (0.1ms) begin transaction
467
+  (0.1ms) rollback transaction
468
+  (0.1ms) begin transaction
469
+  (0.1ms) rollback transaction
470
+  (0.1ms) begin transaction
471
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports"
472
+  (0.0ms) SAVEPOINT active_record_1
473
+ SQL (0.3ms) DELETE FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."id" = ? [["id", 1]]
474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
475
+  (0.0ms) SAVEPOINT active_record_1
476
+ SQL (0.2ms) DELETE FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."id" = ? [["id", 2]]
477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
478
+  (0.0ms) SAVEPOINT active_record_1
479
+ SQL (0.1ms) DELETE FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."id" = ? [["id", 3]]
480
+  (0.0ms) RELEASE SAVEPOINT active_record_1
481
+  (0.0ms) SAVEPOINT active_record_1
482
+ SQL (0.1ms) DELETE FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."id" = ? [["id", 4]]
483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
484
+  (0.0ms) SAVEPOINT active_record_1
485
+ SQL (0.1ms) DELETE FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."id" = ? [["id", 5]]
486
+  (0.0ms) RELEASE SAVEPOINT active_record_1
487
+  (0.0ms) SAVEPOINT active_record_1
488
+ SQL (0.1ms) DELETE FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."id" = ? [["id", 6]]
489
+  (0.0ms) RELEASE SAVEPOINT active_record_1
490
+  (0.0ms) SAVEPOINT active_record_1
491
+ SQL (0.1ms) DELETE FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."id" = ? [["id", 7]]
492
+  (0.0ms) RELEASE SAVEPOINT active_record_1
493
+  (0.0ms) SAVEPOINT active_record_1
494
+ SQL (0.1ms) DELETE FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."id" = ? [["id", 8]]
495
+  (0.0ms) RELEASE SAVEPOINT active_record_1
496
+  (0.0ms) SAVEPOINT active_record_1
497
+ SQL (0.1ms) DELETE FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."id" = ? [["id", 9]]
498
+  (0.0ms) RELEASE SAVEPOINT active_record_1
499
+  (0.0ms) SAVEPOINT active_record_1
500
+ SQL (0.1ms) DELETE FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."id" = ? [["id", 10]]
501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
502
+  (0.2ms) SELECT COUNT(*) FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999')
503
+  (0.1ms) SELECT COUNT(*) FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999')
504
+  (0.1ms) SAVEPOINT active_record_1
505
+ SQL (0.4ms) INSERT INTO "test_events" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
506
+ SQL (0.4ms) INSERT INTO "best_boy_events" ("created_at", "event", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_id", 5], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
507
+ BestBoy::MonthReport Load (0.2ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
508
+ SQL (0.2ms) INSERT INTO "best_boy_month_reports" ("created_at", "event", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 08 Nov 2013 11:17:19 CET +01:00], ["event", "create"], ["owner_type", "TestEvent"], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
509
+ BestBoy::DayReport Load (0.1ms) SELECT "best_boy_day_reports".* FROM "best_boy_day_reports" WHERE "best_boy_day_reports"."owner_type" = 'TestEvent' AND "best_boy_day_reports"."event" = 'create' AND "best_boy_day_reports"."event_source" IS NULL AND ("best_boy_day_reports"."created_at" BETWEEN '2013-11-07 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_day_reports"."id" DESC LIMIT 1
510
+ SQL (0.2ms) UPDATE "best_boy_day_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_day_reports"."id" = 6 [["occurrences", 3], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
511
+ SQL (0.1ms) UPDATE "best_boy_month_reports" SET "occurrences" = ?, "updated_at" = ? WHERE "best_boy_month_reports"."id" = 11 [["occurrences", 1], ["updated_at", Fri, 08 Nov 2013 11:17:19 CET +01:00]]
512
+  (0.1ms) RELEASE SAVEPOINT active_record_1
513
+ BestBoy::MonthReport Load (0.1ms) SELECT "best_boy_month_reports".* FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND "best_boy_month_reports"."event_source" IS NULL AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999') ORDER BY "best_boy_month_reports"."id" DESC LIMIT 1
514
+  (0.1ms) SELECT COUNT(*) FROM "best_boy_month_reports" WHERE "best_boy_month_reports"."owner_type" = 'TestEvent' AND "best_boy_month_reports"."event" = 'create' AND ("best_boy_month_reports"."created_at" BETWEEN '2013-10-31 23:00:00.000000' AND '2013-11-08 22:59:59.999999')
515
+  (0.7ms) rollback transaction
516
+  (0.1ms) begin transaction
517
+  (0.1ms) rollback transaction
518
+  (0.1ms) begin transaction
519
+  (0.1ms) rollback transaction
520
+  (0.1ms) begin transaction
521
+  (0.1ms) rollback transaction
522
+  (0.1ms) begin transaction
523
+  (0.1ms) rollback transaction
524
+  (0.1ms) begin transaction
525
+  (0.1ms) rollback transaction
526
+  (0.1ms) begin transaction
527
+  (0.0ms) rollback transaction
528
+  (0.1ms) begin transaction
529
+  (0.0ms) rollback transaction
530
+  (0.1ms) begin transaction
531
+  (0.0ms) rollback transaction