punching_bag 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66d04687907e766d403d056337edb48015cb0f08
4
- data.tar.gz: 6b7c9d21ba520d02a0fb48bff5e7823308d6f5ee
3
+ metadata.gz: b8d76a5921c3ea558d34c05b0cb5ae5dcf4c6167
4
+ data.tar.gz: d7b2265f4e1fc0f2ad34613d4acecbe9f4501182
5
5
  SHA512:
6
- metadata.gz: b53c50fb9c39f06b0be820fc63c47fc6ce1f47f6768715bafa12c6313427f8f4c5b121776748ea4749eb7ac807d6314376d817797f31eaeb5e79f079fe331b2e
7
- data.tar.gz: 45475c1dc41adb5104ffd976e1cf9b89e147e840e490018915ee32492a27fa5136f0f454ff4eb7c4b5317f1e05a29bea1c902936a823cb20b5577e8e6f9f0c28
6
+ metadata.gz: 2d675b8b2047295686b654337702b4d5bcf0e24e8ce95f447f76b7866dc96ebdd6b285d7158f751d307ddf1cc22ebbac6a43a9aa280147252b8a126c0364f2c8
7
+ data.tar.gz: 459281720edfa622de7b130515010e3594d82f2fdcc1d9a455b5bdbbc28a95bb23b66e4faf5fe96ae63a6f2a12df21d05cd386d40983666ca70a153e5448b952
@@ -1,3 +1,3 @@
1
1
  module PunchingBag
2
- VERSION = '0.3.5'
2
+ VERSION = '0.3.6'
3
3
  end
@@ -12346,3 +12346,469 @@
12346
12346
   (0.0ms) RELEASE SAVEPOINT active_record_1
12347
12347
  Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC
12348
12348
   (0.1ms) rollback transaction
12349
+  (31.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime) 
12350
+  (16.0ms) CREATE TABLE "punches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "punchable_id" integer NOT NULL, "punchable_type" varchar(20) NOT NULL, "starts_at" datetime NOT NULL, "ends_at" datetime NOT NULL, "average_time" datetime NOT NULL, "hits" integer DEFAULT 1 NOT NULL)
12351
+  (26.3ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")
12352
+  (15.8ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")
12353
+  (16.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
12354
+  (16.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
12355
+  (0.1ms) begin transaction
12356
+  (0.1ms) SAVEPOINT active_record_1
12357
+ SQL (1.9ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12358
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12359
+  (0.1ms) rollback transaction
12360
+  (0.1ms) begin transaction
12361
+  (0.1ms) SELECT COUNT(*) FROM "punches"
12362
+  (0.1ms) SAVEPOINT active_record_1
12363
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12364
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12365
+  (0.1ms) SAVEPOINT active_record_1
12366
+ SQL (1.0ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12368
+  (0.1ms) SELECT COUNT(*) FROM "punches"
12369
+  (0.2ms) rollback transaction
12370
+  (0.1ms) begin transaction
12371
+  (0.1ms) SELECT COUNT(*) FROM "punches"
12372
+  (0.1ms) SAVEPOINT active_record_1
12373
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12375
+  (0.0ms) SAVEPOINT active_record_1
12376
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12377
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12378
+  (0.1ms) SELECT COUNT(*) FROM "punches"
12379
+  (0.2ms) rollback transaction
12380
+  (0.1ms) begin transaction
12381
+  (0.1ms) rollback transaction
12382
+  (0.1ms) begin transaction
12383
+  (0.1ms) SAVEPOINT active_record_1
12384
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12385
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12386
+  (0.1ms) rollback transaction
12387
+  (0.1ms) begin transaction
12388
+  (0.1ms) SAVEPOINT active_record_1
12389
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12390
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12391
+  (0.1ms) rollback transaction
12392
+  (0.1ms) begin transaction
12393
+  (0.1ms) SAVEPOINT active_record_1
12394
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12395
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12396
+  (0.1ms) rollback transaction
12397
+  (0.1ms) begin transaction
12398
+  (0.1ms) SAVEPOINT active_record_1
12399
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12401
+  (0.1ms) rollback transaction
12402
+  (0.1ms) begin transaction
12403
+  (0.1ms) SAVEPOINT active_record_1
12404
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12405
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12406
+  (0.2ms) rollback transaction
12407
+  (0.1ms) begin transaction
12408
+  (0.1ms) SAVEPOINT active_record_1
12409
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12410
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12411
+  (0.1ms) rollback transaction
12412
+  (0.1ms) begin transaction
12413
+  (0.1ms) SAVEPOINT active_record_1
12414
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12415
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12416
+  (0.1ms) rollback transaction
12417
+  (0.1ms) begin transaction
12418
+  (0.1ms) SAVEPOINT active_record_1
12419
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12420
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12421
+  (0.1ms) rollback transaction
12422
+  (0.1ms) begin transaction
12423
+  (0.1ms) SAVEPOINT active_record_1
12424
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12425
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12426
+  (0.1ms) rollback transaction
12427
+  (0.1ms) begin transaction
12428
+  (0.1ms) SAVEPOINT active_record_1
12429
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12430
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12431
+  (0.1ms) rollback transaction
12432
+  (0.1ms) begin transaction
12433
+  (0.1ms) SAVEPOINT active_record_1
12434
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12435
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12436
+  (0.2ms) rollback transaction
12437
+  (0.1ms) begin transaction
12438
+  (0.1ms) SAVEPOINT active_record_1
12439
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12441
+  (0.3ms) rollback transaction
12442
+  (0.1ms) begin transaction
12443
+  (0.1ms) SAVEPOINT active_record_1
12444
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12445
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12446
+  (0.1ms) rollback transaction
12447
+  (0.1ms) begin transaction
12448
+  (0.1ms) SAVEPOINT active_record_1
12449
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12450
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12451
+  (0.1ms) rollback transaction
12452
+  (0.1ms) begin transaction
12453
+  (0.1ms) SAVEPOINT active_record_1
12454
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12455
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12456
+  (0.1ms) rollback transaction
12457
+  (0.1ms) begin transaction
12458
+  (0.1ms) SAVEPOINT active_record_1
12459
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12461
+  (0.1ms) rollback transaction
12462
+  (0.1ms) begin transaction
12463
+  (0.1ms) SAVEPOINT active_record_1
12464
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12465
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12466
+  (0.1ms) rollback transaction
12467
+  (0.1ms) begin transaction
12468
+  (0.1ms) SAVEPOINT active_record_1
12469
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12470
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12471
+  (0.2ms) rollback transaction
12472
+  (0.2ms) begin transaction
12473
+  (0.2ms) SAVEPOINT active_record_1
12474
+ SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12476
+  (0.2ms) rollback transaction
12477
+  (0.1ms) begin transaction
12478
+  (0.1ms) SAVEPOINT active_record_1
12479
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12480
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12481
+  (0.1ms) rollback transaction
12482
+  (0.1ms) begin transaction
12483
+  (0.1ms) SAVEPOINT active_record_1
12484
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12486
+  (0.1ms) rollback transaction
12487
+  (0.1ms) begin transaction
12488
+  (0.1ms) SAVEPOINT active_record_1
12489
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12490
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12491
+  (0.1ms) rollback transaction
12492
+  (0.1ms) begin transaction
12493
+  (0.1ms) SAVEPOINT active_record_1
12494
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12496
+  (0.1ms) SAVEPOINT active_record_1
12497
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00]]
12498
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12499
+  (0.1ms) SAVEPOINT active_record_1
12500
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["ends_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00]]
12501
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12502
+  (0.0ms) SAVEPOINT active_record_1
12503
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00]]
12504
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12505
+  (0.1ms) SAVEPOINT active_record_1
12506
+ SQL (0.6ms) UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["average_time", Mon, 07 Oct 2013 08:30:00 UTC +00:00], ["hits", 2]]
12507
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12508
+  (0.1ms) SAVEPOINT active_record_1
12509
+ SQL (0.2ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
12510
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12511
+  (0.2ms) rollback transaction
12512
+  (0.1ms) begin transaction
12513
+  (0.1ms) SAVEPOINT active_record_1
12514
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12515
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12516
+  (0.1ms) SAVEPOINT active_record_1
12517
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00]]
12518
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12519
+  (0.1ms) SAVEPOINT active_record_1
12520
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["ends_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00]]
12521
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12522
+  (0.1ms) SAVEPOINT active_record_1
12523
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00]]
12524
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12525
+  (0.0ms) SAVEPOINT active_record_1
12526
+ SQL (0.1ms) UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["average_time", Mon, 07 Oct 2013 08:30:00 UTC +00:00], ["hits", 2]]
12527
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12528
+  (0.1ms) SAVEPOINT active_record_1
12529
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
12530
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12531
+  (0.1ms) rollback transaction
12532
+  (0.1ms) begin transaction
12533
+  (0.1ms) SAVEPOINT active_record_1
12534
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12535
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12536
+  (0.1ms) SAVEPOINT active_record_1
12537
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00]]
12538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12539
+  (0.1ms) SAVEPOINT active_record_1
12540
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["ends_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00]]
12541
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12542
+  (0.0ms) SAVEPOINT active_record_1
12543
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00]]
12544
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12545
+  (0.0ms) SAVEPOINT active_record_1
12546
+ SQL (0.1ms) UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["average_time", Mon, 07 Oct 2013 08:30:00 UTC +00:00], ["hits", 2]]
12547
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12548
+  (0.0ms) SAVEPOINT active_record_1
12549
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
12550
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12551
+  (0.1ms) rollback transaction
12552
+  (0.1ms) begin transaction
12553
+  (0.1ms) SAVEPOINT active_record_1
12554
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12555
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12556
+  (0.1ms) SAVEPOINT active_record_1
12557
+ SQL (0.5ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00]]
12558
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12559
+  (0.1ms) SAVEPOINT active_record_1
12560
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["ends_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00]]
12561
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12562
+  (0.0ms) SAVEPOINT active_record_1
12563
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00]]
12564
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12565
+  (0.1ms) SAVEPOINT active_record_1
12566
+ SQL (0.1ms) UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["average_time", Mon, 07 Oct 2013 08:30:00 UTC +00:00], ["hits", 2]]
12567
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12568
+  (0.1ms) SAVEPOINT active_record_1
12569
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
12570
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12571
+  (0.1ms) rollback transaction
12572
+  (0.1ms) begin transaction
12573
+  (0.1ms) SAVEPOINT active_record_1
12574
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12576
+  (0.1ms) SAVEPOINT active_record_1
12577
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00]]
12578
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12579
+  (0.0ms) SAVEPOINT active_record_1
12580
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["ends_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00]]
12581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12582
+  (0.1ms) SAVEPOINT active_record_1
12583
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00]]
12584
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12585
+ Punch Load (0.4ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2013-10-07 00:00:00.000000' AND punches.ends_at <= '2013-10-07 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
12586
+ Punch Load (0.3ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2013-10-07 00:00:00.000000' AND punches.ends_at <= '2013-10-07 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
12587
+  (0.3ms) rollback transaction
12588
+  (0.1ms) begin transaction
12589
+  (0.1ms) SAVEPOINT active_record_1
12590
+ SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12591
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12592
+  (0.1ms) SAVEPOINT active_record_1
12593
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00]]
12594
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12595
+  (0.1ms) SAVEPOINT active_record_1
12596
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["ends_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00]]
12597
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12598
+  (0.1ms) SAVEPOINT active_record_1
12599
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00]]
12600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12601
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2013-10-07 00:00:00.000000' AND punches.ends_at <= '2013-10-07 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
12602
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2013-10-07 00:00:00.000000' AND punches.ends_at <= '2013-10-07 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
12603
+  (0.2ms) rollback transaction
12604
+  (0.1ms) begin transaction
12605
+  (0.1ms) SAVEPOINT active_record_1
12606
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12607
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12608
+  (0.2ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
12609
+  (0.1ms) rollback transaction
12610
+  (0.1ms) begin transaction
12611
+  (0.1ms) SAVEPOINT active_record_1
12612
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12613
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12614
+  (0.0ms) SAVEPOINT active_record_1
12615
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12616
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12617
+  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
12618
+  (0.1ms) rollback transaction
12619
+  (0.1ms) begin transaction
12620
+  (0.1ms) SAVEPOINT active_record_1
12621
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12622
+  (0.2ms) RELEASE SAVEPOINT active_record_1
12623
+  (0.2ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
12624
+  (0.1ms) SAVEPOINT active_record_1
12625
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12627
+  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
12628
+  (0.2ms) rollback transaction
12629
+  (0.1ms) begin transaction
12630
+  (0.1ms) SAVEPOINT active_record_1
12631
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12632
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12633
+  (0.1ms) SAVEPOINT active_record_1
12634
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12635
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12636
+  (0.0ms) SAVEPOINT active_record_1
12637
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12639
+  (0.1ms) SAVEPOINT active_record_1
12640
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12641
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12642
+  (0.0ms) SAVEPOINT active_record_1
12643
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12644
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12645
+ Article Load (0.4ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5
12646
+  (0.3ms) rollback transaction
12647
+  (0.2ms) begin transaction
12648
+  (0.1ms) SAVEPOINT active_record_1
12649
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12650
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12651
+  (0.1ms) SAVEPOINT active_record_1
12652
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12653
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12654
+  (0.0ms) SAVEPOINT active_record_1
12655
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12657
+  (0.0ms) SAVEPOINT active_record_1
12658
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12659
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12660
+  (0.0ms) SAVEPOINT active_record_1
12661
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12662
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12663
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5
12664
+  (0.2ms) rollback transaction
12665
+  (0.1ms) begin transaction
12666
+  (0.1ms) SAVEPOINT active_record_1
12667
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12668
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12669
+  (0.1ms) SAVEPOINT active_record_1
12670
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12671
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12672
+  (0.0ms) SAVEPOINT active_record_1
12673
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12674
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12675
+  (0.0ms) SAVEPOINT active_record_1
12676
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12678
+  (0.0ms) SAVEPOINT active_record_1
12679
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12681
+  (0.0ms) SAVEPOINT active_record_1
12682
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12683
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12684
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5
12685
+  (0.2ms) rollback transaction
12686
+  (0.1ms) begin transaction
12687
+  (0.1ms) SAVEPOINT active_record_1
12688
+ SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12689
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12690
+  (0.1ms) SAVEPOINT active_record_1
12691
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12692
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12693
+  (0.1ms) SAVEPOINT active_record_1
12694
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12695
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12696
+  (0.1ms) SAVEPOINT active_record_1
12697
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12699
+  (0.1ms) SAVEPOINT active_record_1
12700
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12701
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12702
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1
12703
+  (0.2ms) rollback transaction
12704
+  (0.1ms) begin transaction
12705
+  (0.1ms) SAVEPOINT active_record_1
12706
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12707
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12708
+  (0.0ms) SAVEPOINT active_record_1
12709
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12711
+  (0.1ms) SAVEPOINT active_record_1
12712
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12714
+  (0.0ms) SAVEPOINT active_record_1
12715
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12717
+  (0.0ms) SAVEPOINT active_record_1
12718
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12719
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12720
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5
12721
+  (0.2ms) rollback transaction
12722
+  (0.1ms) begin transaction
12723
+  (0.1ms) SAVEPOINT active_record_1
12724
+ SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12725
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12726
+  (0.1ms) SAVEPOINT active_record_1
12727
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12728
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12729
+  (0.1ms) SAVEPOINT active_record_1
12730
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12731
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12732
+  (0.1ms) SAVEPOINT active_record_1
12733
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12734
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12735
+  (0.0ms) SAVEPOINT active_record_1
12736
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12738
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC
12739
+  (0.1ms) rollback transaction
12740
+  (0.1ms) begin transaction
12741
+  (0.1ms) SAVEPOINT active_record_1
12742
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12743
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12744
+  (0.1ms) SAVEPOINT active_record_1
12745
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12746
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12747
+  (0.0ms) SAVEPOINT active_record_1
12748
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12750
+  (0.0ms) SAVEPOINT active_record_1
12751
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12753
+  (0.0ms) SAVEPOINT active_record_1
12754
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12756
+  (0.1ms) SAVEPOINT active_record_1
12757
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12758
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12759
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC
12760
+  (0.1ms) rollback transaction
12761
+  (0.1ms) begin transaction
12762
+  (0.1ms) SAVEPOINT active_record_1
12763
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12764
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12765
+  (0.1ms) SAVEPOINT active_record_1
12766
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12767
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12768
+  (0.1ms) SAVEPOINT active_record_1
12769
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12770
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12771
+  (0.0ms) SAVEPOINT active_record_1
12772
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12774
+  (0.0ms) SAVEPOINT active_record_1
12775
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12776
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12777
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC
12778
+  (0.1ms) rollback transaction
12779
+  (0.1ms) begin transaction
12780
+  (0.1ms) SAVEPOINT active_record_1
12781
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12782
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12783
+  (0.0ms) SAVEPOINT active_record_1
12784
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12785
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12786
+  (0.1ms) SAVEPOINT active_record_1
12787
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12788
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12789
+  (0.0ms) SAVEPOINT active_record_1
12790
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12791
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12792
+  (0.0ms) SAVEPOINT active_record_1
12793
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12795
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1
12796
+  (0.1ms) rollback transaction
12797
+  (0.1ms) begin transaction
12798
+  (0.1ms) SAVEPOINT active_record_1
12799
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12800
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12801
+  (0.1ms) SAVEPOINT active_record_1
12802
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12803
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12804
+  (0.1ms) SAVEPOINT active_record_1
12805
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12806
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12807
+  (0.1ms) SAVEPOINT active_record_1
12808
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12809
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12810
+  (0.1ms) SAVEPOINT active_record_1
12811
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]
12812
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12813
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC
12814
+  (0.2ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: punching_bag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Crownoble
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-03 00:00:00.000000000 Z
11
+ date: 2013-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -121,7 +121,8 @@ files:
121
121
  - spec/internal/app/models/article.rb
122
122
  - spec/internal/log/test.log
123
123
  homepage: https://github.com/biola/punching_bag
124
- licenses: []
124
+ licenses:
125
+ - MIT
125
126
  metadata: {}
126
127
  post_install_message:
127
128
  rdoc_options: []