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 @@  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC  (0.2ms) rollback transaction +  (43.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime)  +  (28.2ms) 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) +  (30.5ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time") +  (31.2ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id") +  (28.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (44.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (2.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.3ms) 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"]] + Punch Load (0.2ms) 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"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.1ms) 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"]] + Punch Load (0.1ms) 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"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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", 2], ["punchable_type", "Article"], ["starts_at", Mon, 21 Jul 2014 22:58:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.4ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 22:58:14 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (15.2ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime)  +  (13.8ms) 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) +  (19.3ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time") +  (35.1ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id") +  (35.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (33.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (2.0ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "punches" +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.0ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:18 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "punches" +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.3ms) 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"]] + Punch Load (0.3ms) 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"]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.2ms) 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"]] + Punch Load (0.1ms) 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"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.5ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.9ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.9ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (14.9ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime)  +  (19.2ms) 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) +  (14.4ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time") +  (14.3ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id") +  (19.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (14.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.0ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.4ms) rollback transaction +  (0.2ms) begin transaction +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.3ms) 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"]] + Punch Load (0.2ms) 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"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.9ms) 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]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.1ms) 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"]] + Punch Load (0.2ms) 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"]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.9ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.4ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.5ms) 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 +  (0.4ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.0ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.5ms) 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 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:30 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.6ms) 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 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.4ms) 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 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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:31 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:53:31 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.3ms) rollback transaction +  (14.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime)  +  (13.0ms) CREATE TABLE "punches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "punchable_id" integer NOT NULL, "punchable_type" varchar(20) NOT NULL, "starts_at" datetime NOT NULL, "ends_at" datetime NOT NULL, "average_time" datetime NOT NULL, "hits" integer DEFAULT 1 NOT NULL) +  (29.3ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time") +  (27.6ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id") +  (28.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (28.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.0ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.2ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.9ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.3ms) 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"]] + Punch Load (0.4ms) 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"]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.1ms) 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"]] + Punch Load (0.1ms) 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"]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.0ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.4ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (1.0ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:54:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (42.2ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime)  +  (45.3ms) 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) +  (36.8ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time") +  (21.9ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id") +  (37.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (33.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.4ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "punches" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.3ms) 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"]] + Punch Load (0.5ms) 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"]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.2ms) 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"]] + Punch Load (0.2ms) 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"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.9ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.5ms) 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 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.4ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.7ms) 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 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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:17 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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:17 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:17 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.4ms) 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 +  (0.3ms) rollback transaction +  (24.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime)  +  (34.8ms) 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) +  (32.7ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time") +  (159.0ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id") +  (32.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (29.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.0ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.1ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.3ms) 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"]] + Punch Load (0.2ms) 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"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.2ms) 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"]] + Punch Load (0.3ms) 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"]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.7ms) 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 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.4ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.5ms) rollback transaction +  (0.5ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.5ms) 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 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.5ms) 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 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 21 Jul 2014 23:55:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.4ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.009386"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.009386"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.014243"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.014243"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.020706"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.020706"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.025442"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.025442"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.030987"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.030987"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.038198"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.038198"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.047341"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.047341"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.051639"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.051639"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.057958"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.057958"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.062781"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.062781"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.068483"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.068483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.080386"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.080386"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.088613"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.088613"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.092954"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.092954"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.100694"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.100694"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.110198"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.110198"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.117473"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.117473"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.121948"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.121948"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.127564"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.127564"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.153712"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.153712"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.187614"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.187614"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.6ms) 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"]] + Punch Load (0.3ms) 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"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:43.239223"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:43.239223"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.1ms) 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"]] + Punch Load (0.1ms) 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"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.257552"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.257552"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.266545"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.266545"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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.278417"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.278417"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.288233"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.288233"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.295708"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.295708"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.6ms) 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 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:43.319248"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.319248"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.325264"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.325264"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.4ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.333812"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.333812"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.341097"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.341097"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:43.352451"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.352451"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.360205"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.360205"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:43.368646"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.368646"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.376956"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.376956"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.392919"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.392919"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.6ms) 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 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.409171"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.409171"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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.414738"], ["title", "Hipsters"], ["updated_at", "2014-07-22 00:10:43.414738"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.419008"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.419008"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.424786"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.424786"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:43.432248"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.432248"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.443222"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.443222"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.448773"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:43.448773"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:43.457526"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:43.457526"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1 +  (0.2ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "punches" +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.683262"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.683262"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.688776"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.688776"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.697547"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.697547"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.705516"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.705516"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.710895"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.710895"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.719253"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.719253"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.725383"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.725383"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.731263"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.731263"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.742265"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.742265"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.749350"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.749350"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.2ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.759549"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.759549"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.769647"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.769647"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.780732"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.780732"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.795234"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.795234"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.799677"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.799677"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.806554"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.806554"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.810799"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.810799"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.827659"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.827659"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.8ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.851657"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.851657"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:10:57.903940"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:10:57.903940"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.5ms) 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"]] + Punch Load (0.3ms) 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"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.3ms) 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"]] + Punch Load (0.2ms) 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"]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:57.953493"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:57.953493"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:57.962991"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:57.962991"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:57.973115"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:57.973115"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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:57.982392"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:57.982392"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:57.990782"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:57.990782"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.009093"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.009093"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.018343"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.018343"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:58.025125"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.025125"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.037254"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.037254"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.5ms) 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 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.054032"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.054032"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.4ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.4ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:58.064942"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.064942"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.076407"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.076407"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:58.085767"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.085767"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.094955"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.094955"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:58.104808"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.104808"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.115712"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.115712"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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.119816"], ["title", "Hipsters"], ["updated_at", "2014-07-22 00:10:58.119816"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:58.125667"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.125667"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.135004"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.135004"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:10:58.142415"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.142415"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.153866"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.153866"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.164142"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:10:58.164142"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:10:58.170510"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:10:58.170510"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1 +  (0.2ms) rollback transaction +  (0.4ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.707868"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.707868"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.2ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.714646"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.714646"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.718759"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.718759"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.725100"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.725100"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.731433"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.731433"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.737873"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.737873"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.742328"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.742328"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.746875"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.746875"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.758671"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.758671"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.763236"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.763236"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.771707"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.771707"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.782077"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.782077"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.792287"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.792287"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.796376"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.796376"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.802611"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.802611"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.808394"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.808394"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.815044"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.815044"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.825923"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.825923"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.830640"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.830640"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.890482"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.890482"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.907574"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.907574"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.4ms) 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"]] + Punch Load (0.3ms) 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"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 00:12:02.939697"], ["title", "Bluths"], ["updated_at", "2014-07-22 00:12:02.939697"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.1ms) 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"]] + Punch Load (0.1ms) 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"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:02.956905"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:02.956905"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:02.967369"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:02.967369"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:02.977064"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:02.977064"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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:02.988631"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:02.988631"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:02.994907"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:02.994907"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.6ms) 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 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:12:03.014763"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.014763"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.022187"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.022187"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:12:03.030517"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.030517"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.038555"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.038555"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.053923"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.053923"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.4ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.069810"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.069810"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 00:12:03.076484"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.076484"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.084716"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.084716"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.102726"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.102726"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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.106100"], ["title", "Hipsters"], ["updated_at", "2014-07-22 00:12:03.106100"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.110294"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.110294"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.120432"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.120432"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.126840"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.126840"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.136950"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.136950"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.143229"], ["title", "Lebowski"], ["updated_at", "2014-07-22 00:12:03.143229"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.7ms) 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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 00:12:03.153005"], ["title", "Bacon"], ["updated_at", "2014-07-22 00:12:03.153005"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1 +  (0.2ms) rollback transaction