spec/internal/log/test.log in punching_bag-0.3.6 vs spec/internal/log/test.log in punching_bag-0.3.7
- old
+ new
@@ -12810,5 +12810,4260 @@
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
[1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (43.4ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (28.2ms)[0m 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)
+ [1m[36m (30.5ms)[0m [1mCREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")[0m
+ [1m[35m (31.2ms)[0m CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")
+ [1m[36m (28.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35m (44.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.3ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.2ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.1ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.1ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.4ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (15.2ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (13.8ms)[0m 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)
+ [1m[36m (19.3ms)[0m [1mCREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")[0m
+ [1m[35m (35.1ms)[0m CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")
+ [1m[36m (35.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35m (33.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (2.0ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m 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, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.8ms)[0m 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, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m 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, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mUPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1[0m [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1[0m [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mUPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1[0m [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1[0m [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPunch Load (0.3ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 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"]]
+ [1m[36mPunch Load (0.3ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPunch Load (0.2ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 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"]]
+ [1m[36mPunch Load (0.1ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.8ms)[0m 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, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m 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, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.9ms)[0m 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, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.2ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36m (14.9ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (19.2ms)[0m 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)
+ [1m[36m (14.4ms)[0m [1mCREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")[0m
+ [1m[35m (14.3ms)[0m CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")
+ [1m[36m (19.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35m (14.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.8ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.3ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.2ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.9ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.1ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.2ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.4ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.5ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.3ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.5ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.6ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.4ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (14.0ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (13.0ms)[0m 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)
+ [1m[36m (29.3ms)[0m [1mCREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")[0m
+ [1m[35m (27.6ms)[0m CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")
+ [1m[36m (28.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35m (28.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.8ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.3ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.3ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.4ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.1ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.1ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.4ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.0ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (42.2ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (45.3ms)[0m 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)
+ [1m[36m (36.8ms)[0m [1mCREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")[0m
+ [1m[35m (21.9ms)[0m CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")
+ [1m[36m (37.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35m (33.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.7ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.3ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.3ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.5ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.2ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.2ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.5ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.4ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.3ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.7ms)[0m 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
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.2ms)[0m 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
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.4ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (24.0ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (34.8ms)[0m 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)
+ [1m[36m (32.7ms)[0m [1mCREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")[0m
+ [1m[35m (159.0ms)[0m CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")
+ [1m[36m (32.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35m (29.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.6ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.1ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["average_time", Mon, 21 Jul 2014 08:30:00 UTC +00:00], ["hits", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.3ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.2ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 09:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["ends_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 28 Jul 2014 07:00:00 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 08:00:00 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.2ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.3ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.7ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.4ms)[0m 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
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.5ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.5ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.5ms)[0m 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
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["ends_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-22 00:10:42.958801"], ["title", "Hector"], ["updated_at", "2014-07-22 00:10:42.958801"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-22 00:10:42.970393"], ["title", "Hector"], ["updated_at", "2014-07-22 00:10:42.970393"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:42.986444"], ["ends_at", "2014-07-22 00:10:42.986444"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:42.986444"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-22 00:10:42.994822"], ["title", "Hector"], ["updated_at", "2014-07-22 00:10:42.994822"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:42.996805"], ["ends_at", "2014-07-22 00:10:42.996805"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:42.996805"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:43.009386"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.009386"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.014243"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.014243"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:43.020706"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.020706"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.025442"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.025442"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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", "2014-07-22 00:10:43.030987"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.030987"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.038198"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.038198"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:43.043354"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.043354"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.047341"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.047341"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:43.051639"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.051639"]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.057958"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.057958"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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", "2014-07-22 00:10:43.062781"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.062781"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.068483"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.068483"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:43.076270"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.076270"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.080386"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.080386"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:43.084752"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.084752"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.088613"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.088613"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:43.092954"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.092954"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.100694"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.100694"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:43.105324"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.105324"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.110198"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.110198"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:43.117473"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.117473"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.121948"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.121948"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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", "2014-07-22 00:10:43.127564"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.127564"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.130824"], ["ends_at", "2014-07-22 00:10:43.130824"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.130824"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:43.136975"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.136975"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:43.153712"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.153712"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:43.170734"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.170734"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:43.187614"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.187614"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:43.204226"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.204226"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.6ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.3ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:43.239223"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.239223"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.1ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.1ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.257552"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.257552"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.266545"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.266545"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.269032"], ["ends_at", "2014-07-22 00:10:43.269032"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.269032"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.278417"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.278417"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.283607"], ["ends_at", "2014-07-22 00:10:43.283607"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.283607"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:43.288233"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.288233"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.290253"], ["ends_at", "2014-07-22 00:10:43.290253"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.290253"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.292358"], ["ends_at", "2014-07-22 00:10:43.292358"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.292358"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.295708"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.295708"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.298878"], ["ends_at", "2014-07-22 00:10:43.298878"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.298878"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.6ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:43.319248"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.319248"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.321370"], ["ends_at", "2014-07-22 00:10:43.321370"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.321370"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.323558"], ["ends_at", "2014-07-22 00:10:43.323558"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.323558"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.325264"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.325264"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.327460"], ["ends_at", "2014-07-22 00:10:43.327460"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.327460"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.4ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:43.333812"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.333812"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.335733"], ["ends_at", "2014-07-22 00:10:43.335733"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.335733"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.338832"], ["ends_at", "2014-07-22 00:10:43.338832"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.338832"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.341097"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.341097"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.343487"], ["ends_at", "2014-07-22 00:10:43.343487"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.343487"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2014-07-22 00:10:43.346738"], ["title", "Hipsters"], ["updated_at", "2014-07-22 00:10:43.346738"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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", "2014-07-22 00:10:43.352451"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.352451"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.355789"], ["ends_at", "2014-07-22 00:10:43.355789"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.355789"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.358168"], ["ends_at", "2014-07-22 00:10:43.358168"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.358168"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.360205"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.360205"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.362553"], ["ends_at", "2014-07-22 00:10:43.362553"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.362553"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m 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", "2014-07-22 00:10:43.368646"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.368646"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.372041"], ["ends_at", "2014-07-22 00:10:43.372041"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.372041"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.374403"], ["ends_at", "2014-07-22 00:10:43.374403"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.374403"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.376956"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.376956"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.380382"], ["ends_at", "2014-07-22 00:10:43.380382"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.380382"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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 OFFSET 1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:43.386632"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.386632"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.388521"], ["ends_at", "2014-07-22 00:10:43.388521"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.388521"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.390597"], ["ends_at", "2014-07-22 00:10:43.390597"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.390597"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.392919"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.392919"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.396643"], ["ends_at", "2014-07-22 00:10:43.396643"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.396643"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.6ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:43.403370"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.403370"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.405326"], ["ends_at", "2014-07-22 00:10:43.405326"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.405326"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.407368"], ["ends_at", "2014-07-22 00:10:43.407368"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.407368"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.409171"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.409171"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.411305"], ["ends_at", "2014-07-22 00:10:43.411305"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.411305"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2014-07-22 00:10:43.414738"], ["title", "Hipsters"], ["updated_at", "2014-07-22 00:10:43.414738"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:43.419008"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.419008"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.420940"], ["ends_at", "2014-07-22 00:10:43.420940"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.420940"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.423041"], ["ends_at", "2014-07-22 00:10:43.423041"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.423041"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.424786"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.424786"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.426571"], ["ends_at", "2014-07-22 00:10:43.426571"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.426571"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:43.432248"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.432248"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.436481"], ["ends_at", "2014-07-22 00:10:43.436481"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.436481"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.440822"], ["ends_at", "2014-07-22 00:10:43.440822"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.440822"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.443222"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.443222"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.444941"], ["ends_at", "2014-07-22 00:10:43.444941"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.444941"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:43.448773"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.448773"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:43.451422"], ["ends_at", "2014-07-22 00:10:43.451422"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.451422"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.455433"], ["ends_at", "2014-07-22 00:10:43.455433"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.455433"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.457526"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.457526"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:43.459375"], ["ends_at", "2014-07-22 00:10:43.459375"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:43.459375"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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 OFFSET 1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.3ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-22 00:10:57.642062"], ["title", "Hector"], ["updated_at", "2014-07-22 00:10:57.642062"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-22 00:10:57.651433"], ["title", "Hector"], ["updated_at", "2014-07-22 00:10:57.651433"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:57.665073"], ["ends_at", "2014-07-22 00:10:57.665073"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:57.665073"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-22 00:10:57.672814"], ["title", "Hector"], ["updated_at", "2014-07-22 00:10:57.672814"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:57.674793"], ["ends_at", "2014-07-22 00:10:57.674793"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:57.674793"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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", "2014-07-22 00:10:57.683262"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.683262"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.688776"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.688776"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:57.692853"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.692853"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.697547"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.697547"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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", "2014-07-22 00:10:57.705516"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.705516"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.710895"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.710895"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:57.714862"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.714862"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.719253"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.719253"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:57.725383"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.725383"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.731263"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.731263"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:57.735429"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.735429"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.742265"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.742265"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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", "2014-07-22 00:10:57.749350"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.749350"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.759549"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.759549"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:57.765205"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.765205"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.769647"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.769647"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:57.775903"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.775903"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.780732"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.780732"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:57.790700"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.790700"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.795234"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.795234"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:57.799677"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.799677"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.806554"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.806554"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:57.810799"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.810799"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:57.812847"], ["ends_at", "2014-07-22 00:10:57.812847"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:57.812847"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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", "2014-07-22 00:10:57.827659"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.827659"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.8ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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", "2014-07-22 00:10:57.851657"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.851657"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:57.872017"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.872017"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:57.888138"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.888138"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:57.903940"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.903940"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.5ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.3ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:57.933645"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.933645"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.3ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.2ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:57.953493"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:57.953493"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:57.962991"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:57.962991"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:57.965987"], ["ends_at", "2014-07-22 00:10:57.965987"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:57.965987"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:57.973115"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:57.973115"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:57.977110"], ["ends_at", "2014-07-22 00:10:57.977110"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:57.977110"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:57.982392"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:57.982392"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:57.985174"], ["ends_at", "2014-07-22 00:10:57.985174"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:57.985174"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:57.988859"], ["ends_at", "2014-07-22 00:10:57.988859"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:57.988859"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:57.990782"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:57.990782"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:57.992497"], ["ends_at", "2014-07-22 00:10:57.992497"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:57.992497"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:58.009093"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.009093"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:58.012243"], ["ends_at", "2014-07-22 00:10:58.012243"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.012243"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.016328"], ["ends_at", "2014-07-22 00:10:58.016328"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.016328"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.018343"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.018343"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.020273"], ["ends_at", "2014-07-22 00:10:58.020273"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.020273"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:58.025125"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.025125"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:58.029592"], ["ends_at", "2014-07-22 00:10:58.029592"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.029592"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.035183"], ["ends_at", "2014-07-22 00:10:58.035183"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.035183"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.037254"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.037254"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.039086"], ["ends_at", "2014-07-22 00:10:58.039086"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.039086"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2014-07-22 00:10:58.040886"], ["title", "Hipsters"], ["updated_at", "2014-07-22 00:10:58.040886"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.5ms)[0m 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
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:10:58.047643"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.047643"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.049803"], ["ends_at", "2014-07-22 00:10:58.049803"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.049803"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:58.052265"], ["ends_at", "2014-07-22 00:10:58.052265"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.052265"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.054032"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.054032"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:58.056199"], ["ends_at", "2014-07-22 00:10:58.056199"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.056199"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.4ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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", "2014-07-22 00:10:58.064942"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.064942"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.069534"], ["ends_at", "2014-07-22 00:10:58.069534"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.069534"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:58.074209"], ["ends_at", "2014-07-22 00:10:58.074209"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.074209"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.076407"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.076407"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:58.079490"], ["ends_at", "2014-07-22 00:10:58.079490"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.079490"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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 OFFSET 1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:58.085767"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.085767"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.088387"], ["ends_at", "2014-07-22 00:10:58.088387"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.088387"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:58.092030"], ["ends_at", "2014-07-22 00:10:58.092030"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.092030"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.094955"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.094955"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:58.098854"], ["ends_at", "2014-07-22 00:10:58.098854"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.098854"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.2ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:10:58.104808"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.104808"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.107715"], ["ends_at", "2014-07-22 00:10:58.107715"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.107715"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:58.112491"], ["ends_at", "2014-07-22 00:10:58.112491"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.112491"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.115712"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.115712"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:58.117633"], ["ends_at", "2014-07-22 00:10:58.117633"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.117633"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2014-07-22 00:10:58.119816"], ["title", "Hipsters"], ["updated_at", "2014-07-22 00:10:58.119816"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:58.125667"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.125667"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:58.129173"], ["ends_at", "2014-07-22 00:10:58.129173"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.129173"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.133024"], ["ends_at", "2014-07-22 00:10:58.133024"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.133024"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.135004"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.135004"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.136961"], ["ends_at", "2014-07-22 00:10:58.136961"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.136961"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:58.142415"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.142415"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:58.145856"], ["ends_at", "2014-07-22 00:10:58.145856"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.145856"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.150559"], ["ends_at", "2014-07-22 00:10:58.150559"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.150559"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.153866"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.153866"]]
+ [1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.157752"], ["ends_at", "2014-07-22 00:10:58.157752"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.157752"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:58.164142"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.164142"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:10:58.166398"], ["ends_at", "2014-07-22 00:10:58.166398"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.166398"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.168497"], ["ends_at", "2014-07-22 00:10:58.168497"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.168497"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.170510"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.170510"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:10:58.172519"], ["ends_at", "2014-07-22 00:10:58.172519"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:10:58.172519"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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 OFFSET 1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-22 00:12:02.667252"], ["title", "Hector"], ["updated_at", "2014-07-22 00:12:02.667252"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-22 00:12:02.677885"], ["title", "Hector"], ["updated_at", "2014-07-22 00:12:02.677885"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:02.692389"], ["ends_at", "2014-07-22 00:12:02.692389"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:02.692389"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-22 00:12:02.698890"], ["title", "Hector"], ["updated_at", "2014-07-22 00:12:02.698890"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:02.700899"], ["ends_at", "2014-07-22 00:12:02.700899"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:02.700899"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:12:02.707868"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.707868"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.714646"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.714646"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:12:02.718759"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.718759"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.725100"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.725100"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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", "2014-07-22 00:12:02.731433"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.731433"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.737873"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.737873"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:12:02.742328"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.742328"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.746875"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.746875"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:12:02.754596"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.754596"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.758671"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.758671"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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", "2014-07-22 00:12:02.763236"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.763236"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.771707"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.771707"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:12:02.776269"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.776269"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.782077"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.782077"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:12:02.788298"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.788298"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.792287"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.792287"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m 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", "2014-07-22 00:12:02.796376"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.796376"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.802611"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.802611"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:12:02.808394"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.808394"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.815044"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.815044"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:12:02.821888"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.821888"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.825923"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.825923"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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", "2014-07-22 00:12:02.830640"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.830640"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:02.834283"], ["ends_at", "2014-07-22 00:12:02.834283"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:02.834283"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "punches"[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "punches"
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:12:02.839600"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.839600"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:12:02.857914"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.857914"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:12:02.871356"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.871356"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:12:02.890482"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.890482"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "punches" WHERE "punches"."id" = ?[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:12:02.907574"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.907574"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.4ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.3ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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", "2014-07-22 00:12:02.939697"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.939697"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPunch Load (0.1ms)[0m [1mSELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35mPunch Load (0.1ms)[0m SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:02.956905"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:02.956905"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:02.967369"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:02.967369"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:02.970406"], ["ends_at", "2014-07-22 00:12:02.970406"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:02.970406"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:02.977064"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:02.977064"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:02.983865"], ["ends_at", "2014-07-22 00:12:02.983865"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:02.983865"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ?[0m [["punchable_id", 1], ["punchable_type", "Article"]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:12:02.988631"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:02.988631"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:02.990668"], ["ends_at", "2014-07-22 00:12:02.990668"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:02.990668"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:02.992842"], ["ends_at", "2014-07-22 00:12:02.992842"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:02.992842"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:02.994907"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:02.994907"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:02.999376"], ["ends_at", "2014-07-22 00:12:02.999376"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:02.999376"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.6ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:12:03.014763"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.014763"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:03.018195"], ["ends_at", "2014-07-22 00:12:03.018195"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.018195"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.020420"], ["ends_at", "2014-07-22 00:12:03.020420"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.020420"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.022187"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.022187"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.023835"], ["ends_at", "2014-07-22 00:12:03.023835"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.023835"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.3ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:12:03.030517"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.030517"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:03.034326"], ["ends_at", "2014-07-22 00:12:03.034326"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.034326"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.036748"], ["ends_at", "2014-07-22 00:12:03.036748"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.036748"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.038555"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.038555"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.040240"], ["ends_at", "2014-07-22 00:12:03.040240"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.040240"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2014-07-22 00:12:03.042036"], ["title", "Hipsters"], ["updated_at", "2014-07-22 00:12:03.042036"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:12:03.046399"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.046399"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.048231"], ["ends_at", "2014-07-22 00:12:03.048231"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.048231"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:03.050625"], ["ends_at", "2014-07-22 00:12:03.050625"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.050625"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.053923"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.053923"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:03.056371"], ["ends_at", "2014-07-22 00:12:03.056371"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.056371"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.4ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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", "2014-07-22 00:12:03.064053"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.064053"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.066022"], ["ends_at", "2014-07-22 00:12:03.066022"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.066022"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:03.068109"], ["ends_at", "2014-07-22 00:12:03.068109"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.068109"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.069810"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.069810"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:03.071467"], ["ends_at", "2014-07-22 00:12:03.071467"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.071467"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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 OFFSET 1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m 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", "2014-07-22 00:12:03.076484"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.076484"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.080391"], ["ends_at", "2014-07-22 00:12:03.080391"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.080391"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:03.082882"], ["ends_at", "2014-07-22 00:12:03.082882"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.082882"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.084716"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.084716"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:03.087003"], ["ends_at", "2014-07-22 00:12:03.087003"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.087003"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mArticle Load (0.3ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m 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", "2014-07-22 00:12:03.093805"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.093805"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.098049"], ["ends_at", "2014-07-22 00:12:03.098049"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.098049"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:03.100938"], ["ends_at", "2014-07-22 00:12:03.100938"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.100938"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.102726"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.102726"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:03.104372"], ["ends_at", "2014-07-22 00:12:03.104372"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.104372"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2014-07-22 00:12:03.106100"], ["title", "Hipsters"], ["updated_at", "2014-07-22 00:12:03.106100"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:12:03.110294"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.110294"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:03.113058"], ["ends_at", "2014-07-22 00:12:03.113058"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.113058"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.116761"], ["ends_at", "2014-07-22 00:12:03.116761"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.116761"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.120432"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.120432"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.122314"], ["ends_at", "2014-07-22 00:12:03.122314"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.122314"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:12:03.126840"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.126840"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:03.129536"], ["ends_at", "2014-07-22 00:12:03.129536"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.129536"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.133613"], ["ends_at", "2014-07-22 00:12:03.133613"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.133613"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.136950"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.136950"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.138855"], ["ends_at", "2014-07-22 00:12:03.138855"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.138855"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:12:03.143229"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.143229"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 00:12:03.145866"], ["ends_at", "2014-07-22 00:12:03.145866"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.145866"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.150885"], ["ends_at", "2014-07-22 00:12:03.150885"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.150885"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.153005"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.153005"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?)[0m [["average_time", "2014-07-22 00:12:03.154674"], ["ends_at", "2014-07-22 00:12:03.154674"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 00:12:03.154674"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mArticle Load (0.2ms)[0m [1mSELECT "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 OFFSET 1[0m
+ [1m[35m (0.2ms)[0m rollback transaction