(20.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime, "updated_at" datetime)   (10.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)  (0.5ms) select sqlite_version(*)  (14.3ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")  (0.7ms)  SELECT sql FROM sqlite_master WHERE name='index_punches_on_average_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_punches_on_average_time' AND type='index'   (10.2ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")  (16.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (22.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:16:09.679167"], ["updated_at", "2015-11-12 04:16:09.679167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:16:09.685697"], ["updated_at", "2015-11-12 04:16:09.685697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.699316"], ["ends_at", "2015-11-12 04:16:09.699316"], ["average_time", "2015-11-12 04:16:09.699316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:16:09.703128"], ["updated_at", "2015-11-12 04:16:09.703128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.704675"], ["ends_at", "2015-11-12 04:16:09.704675"], ["average_time", "2015-11-12 04:16:09.704675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.710066"], ["updated_at", "2015-11-12 04:16:09.710066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.713219"], ["updated_at", "2015-11-12 04:16:09.713219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.716030"], ["updated_at", "2015-11-12 04:16:09.716030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.718926"], ["updated_at", "2015-11-12 04:16:09.718926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.721748"], ["updated_at", "2015-11-12 04:16:09.721748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.724560"], ["updated_at", "2015-11-12 04:16:09.724560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.727403"], ["updated_at", "2015-11-12 04:16:09.727403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.730549"], ["updated_at", "2015-11-12 04:16:09.730549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.733418"], ["updated_at", "2015-11-12 04:16:09.733418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.736323"], ["updated_at", "2015-11-12 04:16:09.736323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.739371"], ["updated_at", "2015-11-12 04:16:09.739371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.742295"], ["updated_at", "2015-11-12 04:16:09.742295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.755124"], ["updated_at", "2015-11-12 04:16:09.755124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.758125"], ["updated_at", "2015-11-12 04:16:09.758125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.761215"], ["updated_at", "2015-11-12 04:16:09.761215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.764432"], ["updated_at", "2015-11-12 04:16:09.764432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.767429"], ["updated_at", "2015-11-12 04:16:09.767429"]]  (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.hits > 1) AND (punches.starts_at >= '2015-11-01 00:00:00.000000' AND punches.ends_at <= '2015-11-30 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.772011"], ["updated_at", "2015-11-12 04:16:09.772011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.775215"], ["updated_at", "2015-11-12 04:16:09.775215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.778352"], ["updated_at", "2015-11-12 04:16:09.778352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.781482"], ["updated_at", "2015-11-12 04:16:09.781482"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.784503"], ["updated_at", "2015-11-12 04:16:09.784503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-01-01 00:00:00.000000' AND punches.ends_at <= '2015-12-31 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.788799"], ["updated_at", "2015-11-12 04:16:09.788799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.790226"], ["ends_at", "2015-11-12 04:16:09.790226"], ["average_time", "2015-11-12 04:16:09.790226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.0ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.794049"], ["updated_at", "2015-11-12 04:16:09.794049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.827188"], ["updated_at", "2015-11-12 04:16:09.827188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.836246"], ["updated_at", "2015-11-12 04:16:09.836246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.845772"], ["updated_at", "2015-11-12 04:16:09.845772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.854738"], ["updated_at", "2015-11-12 04:16:09.854738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:09.864206"], ["updated_at", "2015-11-12 04:16:09.864206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:09.873283"], ["updated_at", "2015-11-12 04:16:09.873283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:09.877415"], ["updated_at", "2015-11-12 04:16:09.877415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.879036"], ["ends_at", "2015-11-12 04:16:09.879036"], ["average_time", "2015-11-12 04:16:09.879036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:09.882664"], ["updated_at", "2015-11-12 04:16:09.882664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.885127"], ["ends_at", "2015-11-12 04:16:09.885127"], ["average_time", "2015-11-12 04:16:09.885127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:09.888379"], ["updated_at", "2015-11-12 04:16:09.888379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.889996"], ["ends_at", "2015-11-12 04:16:09.889996"], ["average_time", "2015-11-12 04:16:09.889996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.891783"], ["ends_at", "2015-11-12 04:16:09.891783"], ["average_time", "2015-11-12 04:16:09.891783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:09.893252"], ["updated_at", "2015-11-12 04:16:09.893252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.894578"], ["ends_at", "2015-11-12 04:16:09.894578"], ["average_time", "2015-11-12 04:16:09.894578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:09.906154"], ["updated_at", "2015-11-12 04:16:09.906154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.907760"], ["ends_at", "2015-11-12 04:16:09.907760"], ["average_time", "2015-11-12 04:16:09.907760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.909404"], ["ends_at", "2015-11-12 04:16:09.909404"], ["average_time", "2015-11-12 04:16:09.909404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:09.910753"], ["updated_at", "2015-11-12 04:16:09.910753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.912073"], ["ends_at", "2015-11-12 04:16:09.912073"], ["average_time", "2015-11-12 04:16:09.912073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:09.915616"], ["updated_at", "2015-11-12 04:16:09.915616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.917146"], ["ends_at", "2015-11-12 04:16:09.917146"], ["average_time", "2015-11-12 04:16:09.917146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.918859"], ["ends_at", "2015-11-12 04:16:09.918859"], ["average_time", "2015-11-12 04:16:09.918859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:09.920340"], ["updated_at", "2015-11-12 04:16:09.920340"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.921739"], ["ends_at", "2015-11-12 04:16:09.921739"], ["average_time", "2015-11-12 04:16:09.921739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-11-12 04:16:09.923222"], ["updated_at", "2015-11-12 04:16:09.923222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:09.926346"], ["updated_at", "2015-11-12 04:16:09.926346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.927897"], ["ends_at", "2015-11-12 04:16:09.927897"], ["average_time", "2015-11-12 04:16:09.927897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.929473"], ["ends_at", "2015-11-12 04:16:09.929473"], ["average_time", "2015-11-12 04:16:09.929473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:09.930783"], ["updated_at", "2015-11-12 04:16:09.930783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.932066"], ["ends_at", "2015-11-12 04:16:09.932066"], ["average_time", "2015-11-12 04:16:09.932066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:09.935621"], ["updated_at", "2015-11-12 04:16:09.935621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.937182"], ["ends_at", "2015-11-12 04:16:09.937182"], ["average_time", "2015-11-12 04:16:09.937182"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.938837"], ["ends_at", "2015-11-12 04:16:09.938837"], ["average_time", "2015-11-12 04:16:09.938837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:09.940180"], ["updated_at", "2015-11-12 04:16:09.940180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.941481"], ["ends_at", "2015-11-12 04:16:09.941481"], ["average_time", "2015-11-12 04:16:09.941481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:09.945641"], ["updated_at", "2015-11-12 04:16:09.945641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.947215"], ["ends_at", "2015-11-12 04:16:09.947215"], ["average_time", "2015-11-12 04:16:09.947215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.948896"], ["ends_at", "2015-11-12 04:16:09.948896"], ["average_time", "2015-11-12 04:16:09.948896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:09.950292"], ["updated_at", "2015-11-12 04:16:09.950292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.951590"], ["ends_at", "2015-11-12 04:16:09.951590"], ["average_time", "2015-11-12 04:16:09.951590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:09.955082"], ["updated_at", "2015-11-12 04:16:09.955082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.956658"], ["ends_at", "2015-11-12 04:16:09.956658"], ["average_time", "2015-11-12 04:16:09.956658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.958334"], ["ends_at", "2015-11-12 04:16:09.958334"], ["average_time", "2015-11-12 04:16:09.958334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:09.959744"], ["updated_at", "2015-11-12 04:16:09.959744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.961078"], ["ends_at", "2015-11-12 04:16:09.961078"], ["average_time", "2015-11-12 04:16:09.961078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-11-12 04:16:09.962491"], ["updated_at", "2015-11-12 04:16:09.962491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:09.965480"], ["updated_at", "2015-11-12 04:16:09.965480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.967038"], ["ends_at", "2015-11-12 04:16:09.967038"], ["average_time", "2015-11-12 04:16:09.967038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.968730"], ["ends_at", "2015-11-12 04:16:09.968730"], ["average_time", "2015-11-12 04:16:09.968730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:09.970121"], ["updated_at", "2015-11-12 04:16:09.970121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.971408"], ["ends_at", "2015-11-12 04:16:09.971408"], ["average_time", "2015-11-12 04:16:09.971408"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:09.974676"], ["updated_at", "2015-11-12 04:16:09.974676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.976237"], ["ends_at", "2015-11-12 04:16:09.976237"], ["average_time", "2015-11-12 04:16:09.976237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.977892"], ["ends_at", "2015-11-12 04:16:09.977892"], ["average_time", "2015-11-12 04:16:09.977892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:09.979270"], ["updated_at", "2015-11-12 04:16:09.979270"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.980535"], ["ends_at", "2015-11-12 04:16:09.980535"], ["average_time", "2015-11-12 04:16:09.980535"]]  (0.0ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:09.983857"], ["updated_at", "2015-11-12 04:16:09.983857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.985453"], ["ends_at", "2015-11-12 04:16:09.985453"], ["average_time", "2015-11-12 04:16:09.985453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.987084"], ["ends_at", "2015-11-12 04:16:09.987084"], ["average_time", "2015-11-12 04:16:09.987084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:09.988497"], ["updated_at", "2015-11-12 04:16:09.988497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:09.989765"], ["ends_at", "2015-11-12 04:16:09.989765"], ["average_time", "2015-11-12 04:16:09.989765"]]  (0.0ms) 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.1ms) rollback transaction  (26.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime, "updated_at" datetime)   (15.5ms) 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)  (0.1ms) select sqlite_version(*)  (15.5ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_punches_on_average_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_punches_on_average_time' AND type='index'   (28.1ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")  (15.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (9.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:16:20.077424"], ["updated_at", "2015-11-12 04:16:20.077424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:16:20.083257"], ["updated_at", "2015-11-12 04:16:20.083257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.090545"], ["ends_at", "2015-11-12 04:16:20.090545"], ["average_time", "2015-11-12 04:16:20.090545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:16:20.094344"], ["updated_at", "2015-11-12 04:16:20.094344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.095836"], ["ends_at", "2015-11-12 04:16:20.095836"], ["average_time", "2015-11-12 04:16:20.095836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.100916"], ["updated_at", "2015-11-12 04:16:20.100916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.103985"], ["updated_at", "2015-11-12 04:16:20.103985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.107340"], ["updated_at", "2015-11-12 04:16:20.107340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.129428"], ["updated_at", "2015-11-12 04:16:20.129428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.132454"], ["updated_at", "2015-11-12 04:16:20.132454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.135406"], ["updated_at", "2015-11-12 04:16:20.135406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.138760"], ["updated_at", "2015-11-12 04:16:20.138760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.141754"], ["updated_at", "2015-11-12 04:16:20.141754"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.144707"], ["updated_at", "2015-11-12 04:16:20.144707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.147624"], ["updated_at", "2015-11-12 04:16:20.147624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.151112"], ["updated_at", "2015-11-12 04:16:20.151112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.154043"], ["updated_at", "2015-11-12 04:16:20.154043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.167069"], ["updated_at", "2015-11-12 04:16:20.167069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.170263"], ["updated_at", "2015-11-12 04:16:20.170263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.173503"], ["updated_at", "2015-11-12 04:16:20.173503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.176699"], ["updated_at", "2015-11-12 04:16:20.176699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.179793"], ["updated_at", "2015-11-12 04:16:20.179793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-11-01 00:00:00.000000' AND punches.ends_at <= '2015-11-30 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.185010"], ["updated_at", "2015-11-12 04:16:20.185010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.188505"], ["updated_at", "2015-11-12 04:16:20.188505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.191702"], ["updated_at", "2015-11-12 04:16:20.191702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.194857"], ["updated_at", "2015-11-12 04:16:20.194857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.198847"], ["updated_at", "2015-11-12 04:16:20.198847"]]  (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.hits > 1) AND (punches.starts_at >= '2015-01-01 00:00:00.000000' AND punches.ends_at <= '2015-12-31 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.204091"], ["updated_at", "2015-11-12 04:16:20.204091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.205705"], ["ends_at", "2015-11-12 04:16:20.205705"], ["average_time", "2015-11-12 04:16:20.205705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.209953"], ["updated_at", "2015-11-12 04:16:20.209953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.222466"], ["updated_at", "2015-11-12 04:16:20.222466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.232600"], ["updated_at", "2015-11-12 04:16:20.232600"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.242912"], ["updated_at", "2015-11-12 04:16:20.242912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.252631"], ["updated_at", "2015-11-12 04:16:20.252631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:16:20.267412"], ["updated_at", "2015-11-12 04:16:20.267412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:20.276909"], ["updated_at", "2015-11-12 04:16:20.276909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:20.281671"], ["updated_at", "2015-11-12 04:16:20.281671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.283420"], ["ends_at", "2015-11-12 04:16:20.283420"], ["average_time", "2015-11-12 04:16:20.283420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:20.287316"], ["updated_at", "2015-11-12 04:16:20.287316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.290458"], ["ends_at", "2015-11-12 04:16:20.290458"], ["average_time", "2015-11-12 04:16:20.290458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:20.294019"], ["updated_at", "2015-11-12 04:16:20.294019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.295737"], ["ends_at", "2015-11-12 04:16:20.295737"], ["average_time", "2015-11-12 04:16:20.295737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.297467"], ["ends_at", "2015-11-12 04:16:20.297467"], ["average_time", "2015-11-12 04:16:20.297467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:20.298963"], ["updated_at", "2015-11-12 04:16:20.298963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.301074"], ["ends_at", "2015-11-12 04:16:20.301074"], ["average_time", "2015-11-12 04:16:20.301074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:20.310669"], ["updated_at", "2015-11-12 04:16:20.310669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.312473"], ["ends_at", "2015-11-12 04:16:20.312473"], ["average_time", "2015-11-12 04:16:20.312473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.314535"], ["ends_at", "2015-11-12 04:16:20.314535"], ["average_time", "2015-11-12 04:16:20.314535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:20.316071"], ["updated_at", "2015-11-12 04:16:20.316071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.317442"], ["ends_at", "2015-11-12 04:16:20.317442"], ["average_time", "2015-11-12 04:16:20.317442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:20.321568"], ["updated_at", "2015-11-12 04:16:20.321568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.323277"], ["ends_at", "2015-11-12 04:16:20.323277"], ["average_time", "2015-11-12 04:16:20.323277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.325092"], ["ends_at", "2015-11-12 04:16:20.325092"], ["average_time", "2015-11-12 04:16:20.325092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:20.326559"], ["updated_at", "2015-11-12 04:16:20.326559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.327920"], ["ends_at", "2015-11-12 04:16:20.327920"], ["average_time", "2015-11-12 04:16:20.327920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-11-12 04:16:20.329406"], ["updated_at", "2015-11-12 04:16:20.329406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:20.332912"], ["updated_at", "2015-11-12 04:16:20.332912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.335033"], ["ends_at", "2015-11-12 04:16:20.335033"], ["average_time", "2015-11-12 04:16:20.335033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.336977"], ["ends_at", "2015-11-12 04:16:20.336977"], ["average_time", "2015-11-12 04:16:20.336977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:20.338501"], ["updated_at", "2015-11-12 04:16:20.338501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.339876"], ["ends_at", "2015-11-12 04:16:20.339876"], ["average_time", "2015-11-12 04:16:20.339876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:20.343592"], ["updated_at", "2015-11-12 04:16:20.343592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.345278"], ["ends_at", "2015-11-12 04:16:20.345278"], ["average_time", "2015-11-12 04:16:20.345278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.347315"], ["ends_at", "2015-11-12 04:16:20.347315"], ["average_time", "2015-11-12 04:16:20.347315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:20.348934"], ["updated_at", "2015-11-12 04:16:20.348934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.350589"], ["ends_at", "2015-11-12 04:16:20.350589"], ["average_time", "2015-11-12 04:16:20.350589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:20.355329"], ["updated_at", "2015-11-12 04:16:20.355329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.357038"], ["ends_at", "2015-11-12 04:16:20.357038"], ["average_time", "2015-11-12 04:16:20.357038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.358848"], ["ends_at", "2015-11-12 04:16:20.358848"], ["average_time", "2015-11-12 04:16:20.358848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:20.360376"], ["updated_at", "2015-11-12 04:16:20.360376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.361813"], ["ends_at", "2015-11-12 04:16:20.361813"], ["average_time", "2015-11-12 04:16:20.361813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:20.365402"], ["updated_at", "2015-11-12 04:16:20.365402"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.367690"], ["ends_at", "2015-11-12 04:16:20.367690"], ["average_time", "2015-11-12 04:16:20.367690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.369641"], ["ends_at", "2015-11-12 04:16:20.369641"], ["average_time", "2015-11-12 04:16:20.369641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:20.371162"], ["updated_at", "2015-11-12 04:16:20.371162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.372567"], ["ends_at", "2015-11-12 04:16:20.372567"], ["average_time", "2015-11-12 04:16:20.372567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-11-12 04:16:20.374061"], ["updated_at", "2015-11-12 04:16:20.374061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:20.377272"], ["updated_at", "2015-11-12 04:16:20.377272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.379016"], ["ends_at", "2015-11-12 04:16:20.379016"], ["average_time", "2015-11-12 04:16:20.379016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.381387"], ["ends_at", "2015-11-12 04:16:20.381387"], ["average_time", "2015-11-12 04:16:20.381387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:20.388292"], ["updated_at", "2015-11-12 04:16:20.388292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.389804"], ["ends_at", "2015-11-12 04:16:20.389804"], ["average_time", "2015-11-12 04:16:20.389804"]]  (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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:20.393251"], ["updated_at", "2015-11-12 04:16:20.393251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.394925"], ["ends_at", "2015-11-12 04:16:20.394925"], ["average_time", "2015-11-12 04:16:20.394925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.396959"], ["ends_at", "2015-11-12 04:16:20.396959"], ["average_time", "2015-11-12 04:16:20.396959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:20.398572"], ["updated_at", "2015-11-12 04:16:20.398572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.399972"], ["ends_at", "2015-11-12 04:16:20.399972"], ["average_time", "2015-11-12 04:16:20.399972"]]  (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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:16:20.403493"], ["updated_at", "2015-11-12 04:16:20.403493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.405193"], ["ends_at", "2015-11-12 04:16:20.405193"], ["average_time", "2015-11-12 04:16:20.405193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.406970"], ["ends_at", "2015-11-12 04:16:20.406970"], ["average_time", "2015-11-12 04:16:20.406970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:16:20.408458"], ["updated_at", "2015-11-12 04:16:20.408458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:16:20.409842"], ["ends_at", "2015-11-12 04:16:20.409842"], ["average_time", "2015-11-12 04:16:20.409842"]]  (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.1ms) rollback transaction  (23.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime, "updated_at" datetime)   (9.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)  (0.1ms) select sqlite_version(*)  (15.6ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_punches_on_average_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_punches_on_average_time' AND type='index'   (15.6ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")  (15.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (21.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:31:48.527441"], ["updated_at", "2015-11-12 04:31:48.527441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:31:48.535060"], ["ends_at", "2015-11-12 04:31:48.535060"], ["average_time", "2015-11-12 04:31:48.535060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:31:48.539272"], ["updated_at", "2015-11-12 04:31:48.539272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:31:48.541533"], ["ends_at", "2015-11-12 04:31:48.541533"], ["average_time", "2015-11-12 04:31:48.541533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:31:48.544849"], ["updated_at", "2015-11-12 04:31:48.544849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (17.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime, "updated_at" datetime)   (14.5ms) 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)  (0.1ms) select sqlite_version(*)  (15.4ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_punches_on_average_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_punches_on_average_time' AND type='index'   (9.5ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")  (9.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (9.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:32:33.945192"], ["updated_at", "2015-11-12 04:32:33.945192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:33.952721"], ["ends_at", "2015-11-12 04:32:33.952721"], ["average_time", "2015-11-12 04:32:33.952721"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:32:33.956561"], ["updated_at", "2015-11-12 04:32:33.956561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:33.958064"], ["ends_at", "2015-11-12 04:32:33.958064"], ["average_time", "2015-11-12 04:32:33.958064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:32:33.961103"], ["updated_at", "2015-11-12 04:32:33.961103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:33.965966"], ["updated_at", "2015-11-12 04:32:33.965966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:33.969066"], ["updated_at", "2015-11-12 04:32:33.969066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:33.972403"], ["updated_at", "2015-11-12 04:32:33.972403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:33.975441"], ["updated_at", "2015-11-12 04:32:33.975441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:33.978334"], ["updated_at", "2015-11-12 04:32:33.978334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:33.981222"], ["updated_at", "2015-11-12 04:32:33.981222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:33.984519"], ["updated_at", "2015-11-12 04:32:33.984519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:33.987458"], ["updated_at", "2015-11-12 04:32:33.987458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:33.990767"], ["updated_at", "2015-11-12 04:32:33.990767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:33.993737"], ["updated_at", "2015-11-12 04:32:33.993737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:33.996960"], ["updated_at", "2015-11-12 04:32:33.996960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.018680"], ["updated_at", "2015-11-12 04:32:34.018680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.030805"], ["updated_at", "2015-11-12 04:32:34.030805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.033818"], ["updated_at", "2015-11-12 04:32:34.033818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.037127"], ["updated_at", "2015-11-12 04:32:34.037127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.040207"], ["updated_at", "2015-11-12 04:32:34.040207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.043544"], ["updated_at", "2015-11-12 04:32:34.043544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-11-01 00:00:00.000000' AND punches.ends_at <= '2015-11-30 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.048056"], ["updated_at", "2015-11-12 04:32:34.048056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.051154"], ["updated_at", "2015-11-12 04:32:34.051154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.054120"], ["updated_at", "2015-11-12 04:32:34.054120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.057545"], ["updated_at", "2015-11-12 04:32:34.057545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.060555"], ["updated_at", "2015-11-12 04:32:34.060555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-01-01 00:00:00.000000' AND punches.ends_at <= '2015-12-31 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.064907"], ["updated_at", "2015-11-12 04:32:34.064907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.066373"], ["ends_at", "2015-11-12 04:32:34.066373"], ["average_time", "2015-11-12 04:32:34.066373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.070438"], ["updated_at", "2015-11-12 04:32:34.070438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.082490"], ["updated_at", "2015-11-12 04:32:34.082490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.092029"], ["updated_at", "2015-11-12 04:32:34.092029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.100884"], ["updated_at", "2015-11-12 04:32:34.100884"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.111089"], ["updated_at", "2015-11-12 04:32:34.111089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:32:34.120733"], ["updated_at", "2015-11-12 04:32:34.120733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:32:34.130280"], ["updated_at", "2015-11-12 04:32:34.130280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:32:34.139170"], ["updated_at", "2015-11-12 04:32:34.139170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.141098"], ["ends_at", "2015-11-12 04:32:34.141098"], ["average_time", "2015-11-12 04:32:34.141098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:32:34.144732"], ["updated_at", "2015-11-12 04:32:34.144732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.147204"], ["ends_at", "2015-11-12 04:32:34.147204"], ["average_time", "2015-11-12 04:32:34.147204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:32:34.150420"], ["updated_at", "2015-11-12 04:32:34.150420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.152004"], ["ends_at", "2015-11-12 04:32:34.152004"], ["average_time", "2015-11-12 04:32:34.152004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.153920"], ["ends_at", "2015-11-12 04:32:34.153920"], ["average_time", "2015-11-12 04:32:34.153920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:32:34.155419"], ["updated_at", "2015-11-12 04:32:34.155419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.156748"], ["ends_at", "2015-11-12 04:32:34.156748"], ["average_time", "2015-11-12 04:32:34.156748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:32:34.165755"], ["updated_at", "2015-11-12 04:32:34.165755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.167353"], ["ends_at", "2015-11-12 04:32:34.167353"], ["average_time", "2015-11-12 04:32:34.167353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.169096"], ["ends_at", "2015-11-12 04:32:34.169096"], ["average_time", "2015-11-12 04:32:34.169096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:32:34.170483"], ["updated_at", "2015-11-12 04:32:34.170483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.171824"], ["ends_at", "2015-11-12 04:32:34.171824"], ["average_time", "2015-11-12 04:32:34.171824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:32:34.175677"], ["updated_at", "2015-11-12 04:32:34.175677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.177204"], ["ends_at", "2015-11-12 04:32:34.177204"], ["average_time", "2015-11-12 04:32:34.177204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.178979"], ["ends_at", "2015-11-12 04:32:34.178979"], ["average_time", "2015-11-12 04:32:34.178979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:32:34.180368"], ["updated_at", "2015-11-12 04:32:34.180368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.181682"], ["ends_at", "2015-11-12 04:32:34.181682"], ["average_time", "2015-11-12 04:32:34.181682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-11-12 04:32:34.183155"], ["updated_at", "2015-11-12 04:32:34.183155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:32:34.186465"], ["updated_at", "2015-11-12 04:32:34.186465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.188084"], ["ends_at", "2015-11-12 04:32:34.188084"], ["average_time", "2015-11-12 04:32:34.188084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.189743"], ["ends_at", "2015-11-12 04:32:34.189743"], ["average_time", "2015-11-12 04:32:34.189743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:32:34.191155"], ["updated_at", "2015-11-12 04:32:34.191155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.192441"], ["ends_at", "2015-11-12 04:32:34.192441"], ["average_time", "2015-11-12 04:32:34.192441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:32:34.196145"], ["updated_at", "2015-11-12 04:32:34.196145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.197779"], ["ends_at", "2015-11-12 04:32:34.197779"], ["average_time", "2015-11-12 04:32:34.197779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.199395"], ["ends_at", "2015-11-12 04:32:34.199395"], ["average_time", "2015-11-12 04:32:34.199395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:32:34.200798"], ["updated_at", "2015-11-12 04:32:34.200798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.202189"], ["ends_at", "2015-11-12 04:32:34.202189"], ["average_time", "2015-11-12 04:32:34.202189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:32:34.206665"], ["updated_at", "2015-11-12 04:32:34.206665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.208280"], ["ends_at", "2015-11-12 04:32:34.208280"], ["average_time", "2015-11-12 04:32:34.208280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.209981"], ["ends_at", "2015-11-12 04:32:34.209981"], ["average_time", "2015-11-12 04:32:34.209981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:32:34.211414"], ["updated_at", "2015-11-12 04:32:34.211414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.212711"], ["ends_at", "2015-11-12 04:32:34.212711"], ["average_time", "2015-11-12 04:32:34.212711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:32:34.216005"], ["updated_at", "2015-11-12 04:32:34.216005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.217586"], ["ends_at", "2015-11-12 04:32:34.217586"], ["average_time", "2015-11-12 04:32:34.217586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.219545"], ["ends_at", "2015-11-12 04:32:34.219545"], ["average_time", "2015-11-12 04:32:34.219545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:32:34.221085"], ["updated_at", "2015-11-12 04:32:34.221085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.222389"], ["ends_at", "2015-11-12 04:32:34.222389"], ["average_time", "2015-11-12 04:32:34.222389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-11-12 04:32:34.223808"], ["updated_at", "2015-11-12 04:32:34.223808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:32:34.227147"], ["updated_at", "2015-11-12 04:32:34.227147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.228818"], ["ends_at", "2015-11-12 04:32:34.228818"], ["average_time", "2015-11-12 04:32:34.228818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.230482"], ["ends_at", "2015-11-12 04:32:34.230482"], ["average_time", "2015-11-12 04:32:34.230482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:32:34.231906"], ["updated_at", "2015-11-12 04:32:34.231906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.233234"], ["ends_at", "2015-11-12 04:32:34.233234"], ["average_time", "2015-11-12 04:32:34.233234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:32:34.236508"], ["updated_at", "2015-11-12 04:32:34.236508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.238099"], ["ends_at", "2015-11-12 04:32:34.238099"], ["average_time", "2015-11-12 04:32:34.238099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.240103"], ["ends_at", "2015-11-12 04:32:34.240103"], ["average_time", "2015-11-12 04:32:34.240103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:32:34.241678"], ["updated_at", "2015-11-12 04:32:34.241678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.243055"], ["ends_at", "2015-11-12 04:32:34.243055"], ["average_time", "2015-11-12 04:32:34.243055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:32:34.246492"], ["updated_at", "2015-11-12 04:32:34.246492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.248159"], ["ends_at", "2015-11-12 04:32:34.248159"], ["average_time", "2015-11-12 04:32:34.248159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.249886"], ["ends_at", "2015-11-12 04:32:34.249886"], ["average_time", "2015-11-12 04:32:34.249886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:32:34.251351"], ["updated_at", "2015-11-12 04:32:34.251351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:34.257402"], ["ends_at", "2015-11-12 04:32:34.257402"], ["average_time", "2015-11-12 04:32:34.257402"]]  (0.0ms) 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.1ms) rollback transaction  (16.7ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime, "updated_at" datetime)   (10.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)  (0.1ms) select sqlite_version(*)  (9.4ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_punches_on_average_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_punches_on_average_time' AND type='index'   (9.3ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")  (15.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (21.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:32:57.597419"], ["updated_at", "2015-11-12 04:32:57.597419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:57.605324"], ["ends_at", "2015-11-12 04:32:57.605324"], ["average_time", "2015-11-12 04:32:57.605324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:32:57.609582"], ["updated_at", "2015-11-12 04:32:57.609582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:32:57.611273"], ["ends_at", "2015-11-12 04:32:57.611273"], ["average_time", "2015-11-12 04:32:57.611273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:32:57.615505"], ["updated_at", "2015-11-12 04:32:57.615505"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (11.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime, "updated_at" datetime)   (21.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)  (0.2ms) select sqlite_version(*)  (15.6ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_punches_on_average_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_punches_on_average_time' AND type='index'   (27.1ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")  (21.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (9.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:53:33.773086"], ["updated_at", "2015-11-12 04:53:33.773086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:33.780864"], ["ends_at", "2015-11-12 04:53:33.780864"], ["average_time", "2015-11-12 04:53:33.780864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:53:33.784630"], ["updated_at", "2015-11-12 04:53:33.784630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:33.786108"], ["ends_at", "2015-11-12 04:53:33.786108"], ["average_time", "2015-11-12 04:53:33.786108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:53:33.789009"], ["updated_at", "2015-11-12 04:53:33.789009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.794301"], ["updated_at", "2015-11-12 04:53:33.794301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.797344"], ["updated_at", "2015-11-12 04:53:33.797344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.800228"], ["updated_at", "2015-11-12 04:53:33.800228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.803148"], ["updated_at", "2015-11-12 04:53:33.803148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.806039"], ["updated_at", "2015-11-12 04:53:33.806039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.808929"], ["updated_at", "2015-11-12 04:53:33.808929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.812138"], ["updated_at", "2015-11-12 04:53:33.812138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.815071"], ["updated_at", "2015-11-12 04:53:33.815071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.817968"], ["updated_at", "2015-11-12 04:53:33.817968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.820942"], ["updated_at", "2015-11-12 04:53:33.820942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.824023"], ["updated_at", "2015-11-12 04:53:33.824023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.846081"], ["updated_at", "2015-11-12 04:53:33.846081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.857783"], ["updated_at", "2015-11-12 04:53:33.857783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.861128"], ["updated_at", "2015-11-12 04:53:33.861128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.864221"], ["updated_at", "2015-11-12 04:53:33.864221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.867242"], ["updated_at", "2015-11-12 04:53:33.867242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.870249"], ["updated_at", "2015-11-12 04:53:33.870249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-11-01 00:00:00.000000' AND punches.ends_at <= '2015-11-30 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.875098"], ["updated_at", "2015-11-12 04:53:33.875098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.878543"], ["updated_at", "2015-11-12 04:53:33.878543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.881542"], ["updated_at", "2015-11-12 04:53:33.881542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.884525"], ["updated_at", "2015-11-12 04:53:33.884525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.887516"], ["updated_at", "2015-11-12 04:53:33.887516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-01-01 00:00:00.000000' AND punches.ends_at <= '2015-12-31 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.892034"], ["updated_at", "2015-11-12 04:53:33.892034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:33.893426"], ["ends_at", "2015-11-12 04:53:33.893426"], ["average_time", "2015-11-12 04:53:33.893426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.0ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.897183"], ["updated_at", "2015-11-12 04:53:33.897183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.909050"], ["updated_at", "2015-11-12 04:53:33.909050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.918149"], ["updated_at", "2015-11-12 04:53:33.918149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.927251"], ["updated_at", "2015-11-12 04:53:33.927251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.936677"], ["updated_at", "2015-11-12 04:53:33.936677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:53:33.946319"], ["updated_at", "2015-11-12 04:53:33.946319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:53:33.955766"], ["updated_at", "2015-11-12 04:53:33.955766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:53:33.964919"], ["updated_at", "2015-11-12 04:53:33.964919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:33.966492"], ["ends_at", "2015-11-12 04:53:33.966492"], ["average_time", "2015-11-12 04:53:33.966492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:53:33.970112"], ["updated_at", "2015-11-12 04:53:33.970112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:33.972596"], ["ends_at", "2015-11-12 04:53:33.972596"], ["average_time", "2015-11-12 04:53:33.972596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:53:33.975964"], ["updated_at", "2015-11-12 04:53:33.975964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:33.977748"], ["ends_at", "2015-11-12 04:53:33.977748"], ["average_time", "2015-11-12 04:53:33.977748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:33.979385"], ["ends_at", "2015-11-12 04:53:33.979385"], ["average_time", "2015-11-12 04:53:33.979385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:53:33.980863"], ["updated_at", "2015-11-12 04:53:33.980863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:33.982195"], ["ends_at", "2015-11-12 04:53:33.982195"], ["average_time", "2015-11-12 04:53:33.982195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:53:33.991185"], ["updated_at", "2015-11-12 04:53:33.991185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:33.992912"], ["ends_at", "2015-11-12 04:53:33.992912"], ["average_time", "2015-11-12 04:53:33.992912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:33.995113"], ["ends_at", "2015-11-12 04:53:33.995113"], ["average_time", "2015-11-12 04:53:33.995113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:53:33.996776"], ["updated_at", "2015-11-12 04:53:33.996776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:33.998274"], ["ends_at", "2015-11-12 04:53:33.998274"], ["average_time", "2015-11-12 04:53:33.998274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:53:34.001681"], ["updated_at", "2015-11-12 04:53:34.001681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.003334"], ["ends_at", "2015-11-12 04:53:34.003334"], ["average_time", "2015-11-12 04:53:34.003334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.005095"], ["ends_at", "2015-11-12 04:53:34.005095"], ["average_time", "2015-11-12 04:53:34.005095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:53:34.006433"], ["updated_at", "2015-11-12 04:53:34.006433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.007742"], ["ends_at", "2015-11-12 04:53:34.007742"], ["average_time", "2015-11-12 04:53:34.007742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-11-12 04:53:34.009288"], ["updated_at", "2015-11-12 04:53:34.009288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:53:34.013059"], ["updated_at", "2015-11-12 04:53:34.013059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.014654"], ["ends_at", "2015-11-12 04:53:34.014654"], ["average_time", "2015-11-12 04:53:34.014654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.016306"], ["ends_at", "2015-11-12 04:53:34.016306"], ["average_time", "2015-11-12 04:53:34.016306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:53:34.017732"], ["updated_at", "2015-11-12 04:53:34.017732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.019035"], ["ends_at", "2015-11-12 04:53:34.019035"], ["average_time", "2015-11-12 04:53:34.019035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:53:34.022557"], ["updated_at", "2015-11-12 04:53:34.022557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.024579"], ["ends_at", "2015-11-12 04:53:34.024579"], ["average_time", "2015-11-12 04:53:34.024579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.026618"], ["ends_at", "2015-11-12 04:53:34.026618"], ["average_time", "2015-11-12 04:53:34.026618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:53:34.028167"], ["updated_at", "2015-11-12 04:53:34.028167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.029454"], ["ends_at", "2015-11-12 04:53:34.029454"], ["average_time", "2015-11-12 04:53:34.029454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:53:34.033576"], ["updated_at", "2015-11-12 04:53:34.033576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.035169"], ["ends_at", "2015-11-12 04:53:34.035169"], ["average_time", "2015-11-12 04:53:34.035169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.036799"], ["ends_at", "2015-11-12 04:53:34.036799"], ["average_time", "2015-11-12 04:53:34.036799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:53:34.038194"], ["updated_at", "2015-11-12 04:53:34.038194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.039609"], ["ends_at", "2015-11-12 04:53:34.039609"], ["average_time", "2015-11-12 04:53:34.039609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:53:34.043134"], ["updated_at", "2015-11-12 04:53:34.043134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.044748"], ["ends_at", "2015-11-12 04:53:34.044748"], ["average_time", "2015-11-12 04:53:34.044748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.046417"], ["ends_at", "2015-11-12 04:53:34.046417"], ["average_time", "2015-11-12 04:53:34.046417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:53:34.047912"], ["updated_at", "2015-11-12 04:53:34.047912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.049281"], ["ends_at", "2015-11-12 04:53:34.049281"], ["average_time", "2015-11-12 04:53:34.049281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-11-12 04:53:34.050684"], ["updated_at", "2015-11-12 04:53:34.050684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:53:34.053584"], ["updated_at", "2015-11-12 04:53:34.053584"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.055360"], ["ends_at", "2015-11-12 04:53:34.055360"], ["average_time", "2015-11-12 04:53:34.055360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.057183"], ["ends_at", "2015-11-12 04:53:34.057183"], ["average_time", "2015-11-12 04:53:34.057183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:53:34.058620"], ["updated_at", "2015-11-12 04:53:34.058620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.060277"], ["ends_at", "2015-11-12 04:53:34.060277"], ["average_time", "2015-11-12 04:53:34.060277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:53:34.063632"], ["updated_at", "2015-11-12 04:53:34.063632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.065195"], ["ends_at", "2015-11-12 04:53:34.065195"], ["average_time", "2015-11-12 04:53:34.065195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.066864"], ["ends_at", "2015-11-12 04:53:34.066864"], ["average_time", "2015-11-12 04:53:34.066864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:53:34.068293"], ["updated_at", "2015-11-12 04:53:34.068293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.069591"], ["ends_at", "2015-11-12 04:53:34.069591"], ["average_time", "2015-11-12 04:53:34.069591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:53:34.072997"], ["updated_at", "2015-11-12 04:53:34.072997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.074698"], ["ends_at", "2015-11-12 04:53:34.074698"], ["average_time", "2015-11-12 04:53:34.074698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.076425"], ["ends_at", "2015-11-12 04:53:34.076425"], ["average_time", "2015-11-12 04:53:34.076425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:53:34.077882"], ["updated_at", "2015-11-12 04:53:34.077882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:53:34.079220"], ["ends_at", "2015-11-12 04:53:34.079220"], ["average_time", "2015-11-12 04:53:34.079220"]]  (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.1ms) rollback transaction  (17.3ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime, "updated_at" datetime)   (9.4ms) 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)  (0.1ms) select sqlite_version(*)  (9.5ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_punches_on_average_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_punches_on_average_time' AND type='index'   (15.1ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")  (15.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (20.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:55:28.026352"], ["updated_at", "2015-11-12 04:55:28.026352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:55:28.037682"], ["updated_at", "2015-11-12 04:55:28.037682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:55:28.045892"], ["ends_at", "2015-11-12 04:55:28.045892"], ["average_time", "2015-11-12 04:55:28.045892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:55:28.050301"], ["updated_at", "2015-11-12 04:55:28.050301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:55:28.052605"], ["ends_at", "2015-11-12 04:55:28.052605"], ["average_time", "2015-11-12 04:55:28.052605"]]  (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  (17.5ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime, "updated_at" datetime)   (9.5ms) 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)  (0.1ms) select sqlite_version(*)  (9.3ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_punches_on_average_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_punches_on_average_time' AND type='index'   (9.7ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")  (9.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (16.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:56:45.312625"], ["updated_at", "2015-11-12 04:56:45.312625"]]  (0.0ms) 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.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:56:45.324503"], ["updated_at", "2015-11-12 04:56:45.324503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:56:45.332472"], ["ends_at", "2015-11-12 04:56:45.332472"], ["average_time", "2015-11-12 04:56:45.332472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:56:45.336858"], ["updated_at", "2015-11-12 04:56:45.336858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:56:45.338935"], ["ends_at", "2015-11-12 04:56:45.338935"], ["average_time", "2015-11-12 04:56:45.338935"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SELECT SUM("punches"."hits") FROM "punches"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:56:45.345590"], ["updated_at", "2015-11-12 04:56:45.345590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "hits", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["hits", 2], ["starts_at", "2015-11-12 04:56:45.347116"], ["ends_at", "2015-11-12 04:56:45.347116"], ["average_time", "2015-11-12 04:56:45.347116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (20.5ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime, "updated_at" datetime)   (15.1ms) 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)  (0.1ms) select sqlite_version(*)  (15.1ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_punches_on_average_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_punches_on_average_time' AND type='index'   (15.2ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")  (15.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (10.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:56:50.656736"], ["updated_at", "2015-11-12 04:56:50.656736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:56:50.669559"], ["updated_at", "2015-11-12 04:56:50.669559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:56:50.677915"], ["ends_at", "2015-11-12 04:56:50.677915"], ["average_time", "2015-11-12 04:56:50.677915"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:56:50.683320"], ["updated_at", "2015-11-12 04:56:50.683320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:56:50.685890"], ["ends_at", "2015-11-12 04:56:50.685890"], ["average_time", "2015-11-12 04:56:50.685890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT SUM("punches"."hits") FROM "punches"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:56:50.692708"], ["updated_at", "2015-11-12 04:56:50.692708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "hits", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["hits", 2], ["starts_at", "2015-11-12 04:56:50.695783"], ["ends_at", "2015-11-12 04:56:50.695783"], ["average_time", "2015-11-12 04:56:50.695783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches"  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (14.8ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime, "updated_at" datetime)   (26.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)  (0.1ms) select sqlite_version(*)  (15.0ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_punches_on_average_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_punches_on_average_time' AND type='index'   (16.1ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")  (9.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (16.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.553288"], ["updated_at", "2015-11-12 04:58:12.553288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.567661"], ["updated_at", "2015-11-12 04:58:12.567661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.576938"], ["ends_at", "2015-11-12 04:58:12.576938"], ["average_time", "2015-11-12 04:58:12.576938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.582536"], ["updated_at", "2015-11-12 04:58:12.582536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.585153"], ["ends_at", "2015-11-12 04:58:12.585153"], ["average_time", "2015-11-12 04:58:12.585153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") 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" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.589437"], ["updated_at", "2015-11-12 04:58:12.589437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "hits", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["hits", 2], ["starts_at", "2015-11-12 04:58:12.594654"], ["ends_at", "2015-11-12 04:58:12.594654"], ["average_time", "2015-11-12 04:58:12.594654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:12.598359"], ["updated_at", "2015-11-12 04:58:12.598359"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.600001"], ["ends_at", "2015-11-12 04:58:12.600001"], ["average_time", "2015-11-12 04:58:12.600001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.601728"], ["ends_at", "2015-11-12 04:58:12.601728"], ["average_time", "2015-11-12 04:58:12.601728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.603143"], ["updated_at", "2015-11-12 04:58:12.603143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.604775"], ["ends_at", "2015-11-12 04:58:12.604775"], ["average_time", "2015-11-12 04:58:12.604775"]]  (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" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:12.637175"], ["updated_at", "2015-11-12 04:58:12.637175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.639142"], ["ends_at", "2015-11-12 04:58:12.639142"], ["average_time", "2015-11-12 04:58:12.639142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.641846"], ["ends_at", "2015-11-12 04:58:12.641846"], ["average_time", "2015-11-12 04:58:12.641846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.643825"], ["updated_at", "2015-11-12 04:58:12.643825"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.645890"], ["ends_at", "2015-11-12 04:58:12.645890"], ["average_time", "2015-11-12 04:58:12.645890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:12.649787"], ["updated_at", "2015-11-12 04:58:12.649787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.651553"], ["ends_at", "2015-11-12 04:58:12.651553"], ["average_time", "2015-11-12 04:58:12.651553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.653246"], ["ends_at", "2015-11-12 04:58:12.653246"], ["average_time", "2015-11-12 04:58:12.653246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.654969"], ["updated_at", "2015-11-12 04:58:12.654969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.657759"], ["ends_at", "2015-11-12 04:58:12.657759"], ["average_time", "2015-11-12 04:58:12.657759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-11-12 04:58:12.659734"], ["updated_at", "2015-11-12 04:58:12.659734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:12.664319"], ["updated_at", "2015-11-12 04:58:12.664319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.665993"], ["ends_at", "2015-11-12 04:58:12.665993"], ["average_time", "2015-11-12 04:58:12.665993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.667644"], ["ends_at", "2015-11-12 04:58:12.667644"], ["average_time", "2015-11-12 04:58:12.667644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.669025"], ["updated_at", "2015-11-12 04:58:12.669025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.670846"], ["ends_at", "2015-11-12 04:58:12.670846"], ["average_time", "2015-11-12 04:58:12.670846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 [["punchable_type", "Article"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:12.676265"], ["updated_at", "2015-11-12 04:58:12.676265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.678844"], ["ends_at", "2015-11-12 04:58:12.678844"], ["average_time", "2015-11-12 04:58:12.678844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.680700"], ["ends_at", "2015-11-12 04:58:12.680700"], ["average_time", "2015-11-12 04:58:12.680700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.682192"], ["updated_at", "2015-11-12 04:58:12.682192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.683515"], ["ends_at", "2015-11-12 04:58:12.683515"], ["average_time", "2015-11-12 04:58:12.683515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:12.688130"], ["updated_at", "2015-11-12 04:58:12.688130"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.691198"], ["ends_at", "2015-11-12 04:58:12.691198"], ["average_time", "2015-11-12 04:58:12.691198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.693442"], ["ends_at", "2015-11-12 04:58:12.693442"], ["average_time", "2015-11-12 04:58:12.693442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.695817"], ["updated_at", "2015-11-12 04:58:12.695817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.697259"], ["ends_at", "2015-11-12 04:58:12.697259"], ["average_time", "2015-11-12 04:58:12.697259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:12.700916"], ["updated_at", "2015-11-12 04:58:12.700916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.702620"], ["ends_at", "2015-11-12 04:58:12.702620"], ["average_time", "2015-11-12 04:58:12.702620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.704989"], ["ends_at", "2015-11-12 04:58:12.704989"], ["average_time", "2015-11-12 04:58:12.704989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.707809"], ["updated_at", "2015-11-12 04:58:12.707809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.709606"], ["ends_at", "2015-11-12 04:58:12.709606"], ["average_time", "2015-11-12 04:58:12.709606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-11-12 04:58:12.711833"], ["updated_at", "2015-11-12 04:58:12.711833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:12.715176"], ["updated_at", "2015-11-12 04:58:12.715176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.716869"], ["ends_at", "2015-11-12 04:58:12.716869"], ["average_time", "2015-11-12 04:58:12.716869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.718550"], ["ends_at", "2015-11-12 04:58:12.718550"], ["average_time", "2015-11-12 04:58:12.718550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.720357"], ["updated_at", "2015-11-12 04:58:12.720357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.722521"], ["ends_at", "2015-11-12 04:58:12.722521"], ["average_time", "2015-11-12 04:58:12.722521"]]  (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.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:12.728263"], ["updated_at", "2015-11-12 04:58:12.728263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.730152"], ["ends_at", "2015-11-12 04:58:12.730152"], ["average_time", "2015-11-12 04:58:12.730152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.731963"], ["ends_at", "2015-11-12 04:58:12.731963"], ["average_time", "2015-11-12 04:58:12.731963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.733401"], ["updated_at", "2015-11-12 04:58:12.733401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.734792"], ["ends_at", "2015-11-12 04:58:12.734792"], ["average_time", "2015-11-12 04:58:12.734792"]]  (0.0ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:12.738773"], ["updated_at", "2015-11-12 04:58:12.738773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.741653"], ["ends_at", "2015-11-12 04:58:12.741653"], ["average_time", "2015-11-12 04:58:12.741653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.743960"], ["ends_at", "2015-11-12 04:58:12.743960"], ["average_time", "2015-11-12 04:58:12.743960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:12.746153"], ["updated_at", "2015-11-12 04:58:12.746153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:12.747555"], ["ends_at", "2015-11-12 04:58:12.747555"], ["average_time", "2015-11-12 04:58:12.747555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (11.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime, "updated_at" datetime)   (21.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)  (0.2ms) select sqlite_version(*)  (18.7ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_punches_on_average_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_punches_on_average_time' AND type='index'   (9.2ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")  (14.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (14.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:58:15.049674"], ["updated_at", "2015-11-12 04:58:15.049674"]]  (0.0ms) 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.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:58:15.057204"], ["updated_at", "2015-11-12 04:58:15.057204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.067382"], ["ends_at", "2015-11-12 04:58:15.067382"], ["average_time", "2015-11-12 04:58:15.067382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:58:15.072680"], ["updated_at", "2015-11-12 04:58:15.072680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.075760"], ["ends_at", "2015-11-12 04:58:15.075760"], ["average_time", "2015-11-12 04:58:15.075760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT SUM("punches"."hits") FROM "punches"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-11-12 04:58:15.082579"], ["updated_at", "2015-11-12 04:58:15.082579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "hits", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["hits", 2], ["starts_at", "2015-11-12 04:58:15.084306"], ["ends_at", "2015-11-12 04:58:15.084306"], ["average_time", "2015-11-12 04:58:15.084306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.112982"], ["updated_at", "2015-11-12 04:58:15.112982"]]  (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" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.117864"], ["updated_at", "2015-11-12 04:58:15.117864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.122558"], ["updated_at", "2015-11-12 04:58:15.122558"]]  (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" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.127969"], ["updated_at", "2015-11-12 04:58:15.127969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.132165"], ["updated_at", "2015-11-12 04:58:15.132165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.135586"], ["updated_at", "2015-11-12 04:58:15.135586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.139659"], ["updated_at", "2015-11-12 04:58:15.139659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.144537"], ["updated_at", "2015-11-12 04:58:15.144537"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.148901"], ["updated_at", "2015-11-12 04:58:15.148901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.152453"], ["updated_at", "2015-11-12 04:58:15.152453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.156363"], ["updated_at", "2015-11-12 04:58:15.156363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.162599"], ["updated_at", "2015-11-12 04:58:15.162599"]]  (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.hits > 1) AND (punches.starts_at >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 23:59:59.999999') 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" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.177939"], ["updated_at", "2015-11-12 04:58:15.177939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.185212"], ["updated_at", "2015-11-12 04:58:15.185212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.189063"], ["updated_at", "2015-11-12 04:58:15.189063"]]  (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" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.195374"], ["updated_at", "2015-11-12 04:58:15.195374"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.200404"], ["updated_at", "2015-11-12 04:58:15.200404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-11-01 00:00:00.000000' AND punches.ends_at <= '2015-11-30 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.206490"], ["updated_at", "2015-11-12 04:58:15.206490"]]  (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" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.212473"], ["updated_at", "2015-11-12 04:58:15.212473"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.217175"], ["updated_at", "2015-11-12 04:58:15.217175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.221475"], ["updated_at", "2015-11-12 04:58:15.221475"]]  (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" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.227114"], ["updated_at", "2015-11-12 04:58:15.227114"]]  (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.hits > 1) AND (punches.starts_at >= '2015-01-01 00:00:00.000000' AND punches.ends_at <= '2015-12-31 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.233433"], ["updated_at", "2015-11-12 04:58:15.233433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.235007"], ["ends_at", "2015-11-12 04:58:15.235007"], ["average_time", "2015-11-12 04:58:15.235007"]]  (0.0ms) 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.5ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.240232"], ["updated_at", "2015-11-12 04:58:15.240232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.256443"], ["updated_at", "2015-11-12 04:58:15.256443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.269759"], ["updated_at", "2015-11-12 04:58:15.269759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (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.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.283672"], ["updated_at", "2015-11-12 04:58:15.283672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (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" = ? [["starts_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.301243"], ["updated_at", "2015-11-12 04:58:15.301243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17:00:00.000000"]]  (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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-11-12 04:58:15.314725"], ["updated_at", "2015-11-12 04:58:15.314725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-11 18:00:00.000000"], ["ends_at", "2015-11-11 18:00:00.000000"], ["average_time", "2015-11-11 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-18 16:00:00.000000"], ["ends_at", "2015-11-18 16:00:00.000000"], ["average_time", "2015-11-18 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-11-11 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-11-11 17:00:00.000000"], ["average_time", "2015-11-11 17: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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 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 >= '2015-11-11 00:00:00.000000' AND punches.ends_at <= '2015-11-11 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.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.327352"], ["updated_at", "2015-11-12 04:58:15.327352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.332696"], ["updated_at", "2015-11-12 04:58:15.332696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.334585"], ["ends_at", "2015-11-12 04:58:15.334585"], ["average_time", "2015-11-12 04:58:15.334585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT SUM("punches"."hits") 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.338719"], ["updated_at", "2015-11-12 04:58:15.338719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") 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" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.343795"], ["ends_at", "2015-11-12 04:58:15.343795"], ["average_time", "2015-11-12 04:58:15.343795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.349120"], ["updated_at", "2015-11-12 04:58:15.349120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "hits", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["hits", 2], ["starts_at", "2015-11-12 04:58:15.352192"], ["ends_at", "2015-11-12 04:58:15.352192"], ["average_time", "2015-11-12 04:58:15.352192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:15.356203"], ["updated_at", "2015-11-12 04:58:15.356203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.359194"], ["ends_at", "2015-11-12 04:58:15.359194"], ["average_time", "2015-11-12 04:58:15.359194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.362033"], ["ends_at", "2015-11-12 04:58:15.362033"], ["average_time", "2015-11-12 04:58:15.362033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.364145"], ["updated_at", "2015-11-12 04:58:15.364145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.365635"], ["ends_at", "2015-11-12 04:58:15.365635"], ["average_time", "2015-11-12 04:58:15.365635"]]  (0.0ms) 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" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:15.377516"], ["updated_at", "2015-11-12 04:58:15.377516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.380505"], ["ends_at", "2015-11-12 04:58:15.380505"], ["average_time", "2015-11-12 04:58:15.380505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.382284"], ["ends_at", "2015-11-12 04:58:15.382284"], ["average_time", "2015-11-12 04:58:15.382284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.383779"], ["updated_at", "2015-11-12 04:58:15.383779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.385109"], ["ends_at", "2015-11-12 04:58:15.385109"], ["average_time", "2015-11-12 04:58:15.385109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:15.389319"], ["updated_at", "2015-11-12 04:58:15.389319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.392151"], ["ends_at", "2015-11-12 04:58:15.392151"], ["average_time", "2015-11-12 04:58:15.392151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.395014"], ["ends_at", "2015-11-12 04:58:15.395014"], ["average_time", "2015-11-12 04:58:15.395014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.397371"], ["updated_at", "2015-11-12 04:58:15.397371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.398960"], ["ends_at", "2015-11-12 04:58:15.398960"], ["average_time", "2015-11-12 04:58:15.398960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-11-12 04:58:15.400573"], ["updated_at", "2015-11-12 04:58:15.400573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:15.404725"], ["updated_at", "2015-11-12 04:58:15.404725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.407699"], ["ends_at", "2015-11-12 04:58:15.407699"], ["average_time", "2015-11-12 04:58:15.407699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.410218"], ["ends_at", "2015-11-12 04:58:15.410218"], ["average_time", "2015-11-12 04:58:15.410218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.412492"], ["updated_at", "2015-11-12 04:58:15.412492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.414370"], ["ends_at", "2015-11-12 04:58:15.414370"], ["average_time", "2015-11-12 04:58:15.414370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:15.418420"], ["updated_at", "2015-11-12 04:58:15.418420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.420230"], ["ends_at", "2015-11-12 04:58:15.420230"], ["average_time", "2015-11-12 04:58:15.420230"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.422405"], ["ends_at", "2015-11-12 04:58:15.422405"], ["average_time", "2015-11-12 04:58:15.422405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.425097"], ["updated_at", "2015-11-12 04:58:15.425097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.427857"], ["ends_at", "2015-11-12 04:58:15.427857"], ["average_time", "2015-11-12 04:58:15.427857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:15.433518"], ["updated_at", "2015-11-12 04:58:15.433518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.435315"], ["ends_at", "2015-11-12 04:58:15.435315"], ["average_time", "2015-11-12 04:58:15.435315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.437045"], ["ends_at", "2015-11-12 04:58:15.437045"], ["average_time", "2015-11-12 04:58:15.437045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.438982"], ["updated_at", "2015-11-12 04:58:15.438982"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.441213"], ["ends_at", "2015-11-12 04:58:15.441213"], ["average_time", "2015-11-12 04:58:15.441213"]]  (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.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:15.451608"], ["updated_at", "2015-11-12 04:58:15.451608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.453389"], ["ends_at", "2015-11-12 04:58:15.453389"], ["average_time", "2015-11-12 04:58:15.453389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.455550"], ["ends_at", "2015-11-12 04:58:15.455550"], ["average_time", "2015-11-12 04:58:15.455550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.457584"], ["updated_at", "2015-11-12 04:58:15.457584"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.460190"], ["ends_at", "2015-11-12 04:58:15.460190"], ["average_time", "2015-11-12 04:58:15.460190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-11-12 04:58:15.463562"], ["updated_at", "2015-11-12 04:58:15.463562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:15.467059"], ["updated_at", "2015-11-12 04:58:15.467059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.468855"], ["ends_at", "2015-11-12 04:58:15.468855"], ["average_time", "2015-11-12 04:58:15.468855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.470792"], ["ends_at", "2015-11-12 04:58:15.470792"], ["average_time", "2015-11-12 04:58:15.470792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.472692"], ["updated_at", "2015-11-12 04:58:15.472692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.475069"], ["ends_at", "2015-11-12 04:58:15.475069"], ["average_time", "2015-11-12 04:58:15.475069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:15.480426"], ["updated_at", "2015-11-12 04:58:15.480426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.482235"], ["ends_at", "2015-11-12 04:58:15.482235"], ["average_time", "2015-11-12 04:58:15.482235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.484033"], ["ends_at", "2015-11-12 04:58:15.484033"], ["average_time", "2015-11-12 04:58:15.484033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.485600"], ["updated_at", "2015-11-12 04:58:15.485600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.486999"], ["ends_at", "2015-11-12 04:58:15.486999"], ["average_time", "2015-11-12 04:58:15.486999"]]  (0.0ms) 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" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-11-12 04:58:15.492979"], ["updated_at", "2015-11-12 04:58:15.492979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.496353"], ["ends_at", "2015-11-12 04:58:15.496353"], ["average_time", "2015-11-12 04:58:15.496353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.498550"], ["ends_at", "2015-11-12 04:58:15.498550"], ["average_time", "2015-11-12 04:58:15.498550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-11-12 04:58:15.500077"], ["updated_at", "2015-11-12 04:58:15.500077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-11-12 04:58:15.501492"], ["ends_at", "2015-11-12 04:58:15.501492"], ["average_time", "2015-11-12 04:58:15.501492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (22.0ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime, "updated_at" datetime)   (9.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)  (0.1ms) select sqlite_version(*)  (8.9ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_punches_on_average_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_punches_on_average_time' AND type='index'   (27.4ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")  (15.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (10.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-12-10 02:47:35.926482"], ["updated_at", "2015-12-10 02:47:35.926482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-12-10 02:47:35.938878"], ["updated_at", "2015-12-10 02:47:35.938878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:35.947650"], ["ends_at", "2015-12-10 02:47:35.947650"], ["average_time", "2015-12-10 02:47:35.947650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-12-10 02:47:35.951609"], ["updated_at", "2015-12-10 02:47:35.951609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:35.953232"], ["ends_at", "2015-12-10 02:47:35.953232"], ["average_time", "2015-12-10 02:47:35.953232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT SUM("punches"."hits") FROM "punches"  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2015-12-10 02:47:35.957615"], ["updated_at", "2015-12-10 02:47:35.957615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "hits", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["hits", 2], ["starts_at", "2015-12-10 02:47:35.959454"], ["ends_at", "2015-12-10 02:47:35.959454"], ["average_time", "2015-12-10 02:47:35.959454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:35.964942"], ["updated_at", "2015-12-10 02:47:35.964942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:35.968049"], ["updated_at", "2015-12-10 02:47:35.968049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:35.971140"], ["updated_at", "2015-12-10 02:47:35.971140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:35.974246"], ["updated_at", "2015-12-10 02:47:35.974246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:35.977504"], ["updated_at", "2015-12-10 02:47:35.977504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:35.980440"], ["updated_at", "2015-12-10 02:47:35.980440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:35.983541"], ["updated_at", "2015-12-10 02:47:35.983541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:35.986563"], ["updated_at", "2015-12-10 02:47:35.986563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:35.989615"], ["updated_at", "2015-12-10 02:47:35.989615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:35.992656"], ["updated_at", "2015-12-10 02:47:35.992656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:35.995968"], ["updated_at", "2015-12-10 02:47:35.995968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:35.999046"], ["updated_at", "2015-12-10 02:47:35.999046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-12-09 00:00:00.000000' AND punches.ends_at <= '2015-12-09 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.012658"], ["updated_at", "2015-12-10 02:47:36.012658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.016037"], ["updated_at", "2015-12-10 02:47:36.016037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.019337"], ["updated_at", "2015-12-10 02:47:36.019337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.022669"], ["updated_at", "2015-12-10 02:47:36.022669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.025941"], ["updated_at", "2015-12-10 02:47:36.025941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-12-01 00:00:00.000000' AND punches.ends_at <= '2015-12-31 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.030536"], ["updated_at", "2015-12-10 02:47:36.030536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.034023"], ["updated_at", "2015-12-10 02:47:36.034023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.037204"], ["updated_at", "2015-12-10 02:47:36.037204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.040522"], ["updated_at", "2015-12-10 02:47:36.040522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.043816"], ["updated_at", "2015-12-10 02:47:36.043816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2015-01-01 00:00:00.000000' AND punches.ends_at <= '2015-12-31 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.048382"], ["updated_at", "2015-12-10 02:47:36.048382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.049928"], ["ends_at", "2015-12-10 02:47:36.049928"], ["average_time", "2015-12-10 02:47:36.049928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) SELECT COUNT(*) FROM "punches"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.058914"], ["updated_at", "2015-12-10 02:47:36.058914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-09 18:00:00.000000"], ["ends_at", "2015-12-09 18:00:00.000000"], ["average_time", "2015-12-09 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-16 16:00:00.000000"], ["ends_at", "2015-12-16 16:00:00.000000"], ["average_time", "2015-12-16 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-12-09 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-12-09 17:00:00.000000"], ["average_time", "2015-12-09 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-12-09 17:00:00.000000"], ["average_time", "2015-12-09 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.071623"], ["updated_at", "2015-12-10 02:47:36.071623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-09 18:00:00.000000"], ["ends_at", "2015-12-09 18:00:00.000000"], ["average_time", "2015-12-09 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-16 16:00:00.000000"], ["ends_at", "2015-12-16 16:00:00.000000"], ["average_time", "2015-12-16 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-12-09 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-12-09 17:00:00.000000"], ["average_time", "2015-12-09 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-12-09 17:00:00.000000"], ["average_time", "2015-12-09 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.081085"], ["updated_at", "2015-12-10 02:47:36.081085"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-09 18:00:00.000000"], ["ends_at", "2015-12-09 18:00:00.000000"], ["average_time", "2015-12-09 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-16 16:00:00.000000"], ["ends_at", "2015-12-16 16:00:00.000000"], ["average_time", "2015-12-16 16:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-12-09 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-12-09 17:00:00.000000"], ["average_time", "2015-12-09 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-12-09 17:00:00.000000"], ["average_time", "2015-12-09 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.090691"], ["updated_at", "2015-12-10 02:47:36.090691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-09 18:00:00.000000"], ["ends_at", "2015-12-09 18:00:00.000000"], ["average_time", "2015-12-09 18:00:00.000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-16 16:00:00.000000"], ["ends_at", "2015-12-16 16:00:00.000000"], ["average_time", "2015-12-16 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-12-09 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-12-09 17:00:00.000000"], ["average_time", "2015-12-09 17:00:00.000000"]]  (0.0ms) 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" = ? [["starts_at", "2015-12-09 17:00:00.000000"], ["average_time", "2015-12-09 17:30:00.000000"], ["hits", 2], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.100231"], ["updated_at", "2015-12-10 02:47:36.100231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-09 18:00:00.000000"], ["ends_at", "2015-12-09 18:00:00.000000"], ["average_time", "2015-12-09 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-16 16:00:00.000000"], ["ends_at", "2015-12-16 16:00:00.000000"], ["average_time", "2015-12-16 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-12-09 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-12-09 17:00:00.000000"], ["average_time", "2015-12-09 17:00:00.000000"]]  (0.0ms) 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 >= '2015-12-09 00:00:00.000000' AND punches.ends_at <= '2015-12-09 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 >= '2015-12-09 00:00:00.000000' AND punches.ends_at <= '2015-12-09 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bluths"], ["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2015-12-10 02:47:36.110227"], ["updated_at", "2015-12-10 02:47:36.110227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-09 18:00:00.000000"], ["ends_at", "2015-12-09 18:00:00.000000"], ["average_time", "2015-12-09 18:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-16 16:00:00.000000"], ["ends_at", "2015-12-16 16:00:00.000000"], ["average_time", "2015-12-16 16:00:00.000000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("starts_at", "punchable_id", "punchable_type", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["starts_at", "2015-12-09 17:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["ends_at", "2015-12-09 17:00:00.000000"], ["average_time", "2015-12-09 17:00:00.000000"]]  (0.0ms) 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 >= '2015-12-09 00:00:00.000000' AND punches.ends_at <= '2015-12-09 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 >= '2015-12-09 00:00:00.000000' AND punches.ends_at <= '2015-12-09 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.120005"], ["updated_at", "2015-12-10 02:47:36.120005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.126618"], ["updated_at", "2015-12-10 02:47:36.126618"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.130674"], ["ends_at", "2015-12-10 02:47:36.130674"], ["average_time", "2015-12-10 02:47:36.130674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.134447"], ["updated_at", "2015-12-10 02:47:36.134447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.137488"], ["ends_at", "2015-12-10 02:47:36.137488"], ["average_time", "2015-12-10 02:47:36.137488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.140992"], ["updated_at", "2015-12-10 02:47:36.140992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "hits", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["hits", 2], ["starts_at", "2015-12-10 02:47:36.143656"], ["ends_at", "2015-12-10 02:47:36.143656"], ["average_time", "2015-12-10 02:47:36.143656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-12-10 02:47:36.147832"], ["updated_at", "2015-12-10 02:47:36.147832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.150072"], ["ends_at", "2015-12-10 02:47:36.150072"], ["average_time", "2015-12-10 02:47:36.150072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.152017"], ["ends_at", "2015-12-10 02:47:36.152017"], ["average_time", "2015-12-10 02:47:36.152017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.153593"], ["updated_at", "2015-12-10 02:47:36.153593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.155057"], ["ends_at", "2015-12-10 02:47:36.155057"], ["average_time", "2015-12-10 02:47:36.155057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.8ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-12-10 02:47:36.172998"], ["updated_at", "2015-12-10 02:47:36.172998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.175536"], ["ends_at", "2015-12-10 02:47:36.175536"], ["average_time", "2015-12-10 02:47:36.175536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.177365"], ["ends_at", "2015-12-10 02:47:36.177365"], ["average_time", "2015-12-10 02:47:36.177365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.178872"], ["updated_at", "2015-12-10 02:47:36.178872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.180598"], ["ends_at", "2015-12-10 02:47:36.180598"], ["average_time", "2015-12-10 02:47:36.180598"]]  (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" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-12-10 02:47:36.194439"], ["updated_at", "2015-12-10 02:47:36.194439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.196366"], ["ends_at", "2015-12-10 02:47:36.196366"], ["average_time", "2015-12-10 02:47:36.196366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.198606"], ["ends_at", "2015-12-10 02:47:36.198606"], ["average_time", "2015-12-10 02:47:36.198606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.201278"], ["updated_at", "2015-12-10 02:47:36.201278"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.205056"], ["ends_at", "2015-12-10 02:47:36.205056"], ["average_time", "2015-12-10 02:47:36.205056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-12-10 02:47:36.208442"], ["updated_at", "2015-12-10 02:47:36.208442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-12-10 02:47:36.211968"], ["updated_at", "2015-12-10 02:47:36.211968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.213846"], ["ends_at", "2015-12-10 02:47:36.213846"], ["average_time", "2015-12-10 02:47:36.213846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.216403"], ["ends_at", "2015-12-10 02:47:36.216403"], ["average_time", "2015-12-10 02:47:36.216403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.221209"], ["updated_at", "2015-12-10 02:47:36.221209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.224300"], ["ends_at", "2015-12-10 02:47:36.224300"], ["average_time", "2015-12-10 02:47:36.224300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 [["punchable_type", "Article"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-12-10 02:47:36.228704"], ["updated_at", "2015-12-10 02:47:36.228704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.230685"], ["ends_at", "2015-12-10 02:47:36.230685"], ["average_time", "2015-12-10 02:47:36.230685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.232491"], ["ends_at", "2015-12-10 02:47:36.232491"], ["average_time", "2015-12-10 02:47:36.232491"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.236125"], ["updated_at", "2015-12-10 02:47:36.236125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.240388"], ["ends_at", "2015-12-10 02:47:36.240388"], ["average_time", "2015-12-10 02:47:36.240388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = ? GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1 [["punchable_type", "Article"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-12-10 02:47:36.245998"], ["updated_at", "2015-12-10 02:47:36.245998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.247853"], ["ends_at", "2015-12-10 02:47:36.247853"], ["average_time", "2015-12-10 02:47:36.247853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.249907"], ["ends_at", "2015-12-10 02:47:36.249907"], ["average_time", "2015-12-10 02:47:36.249907"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.254958"], ["updated_at", "2015-12-10 02:47:36.254958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.258100"], ["ends_at", "2015-12-10 02:47:36.258100"], ["average_time", "2015-12-10 02:47:36.258100"]]  (0.0ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-12-10 02:47:36.262240"], ["updated_at", "2015-12-10 02:47:36.262240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.264076"], ["ends_at", "2015-12-10 02:47:36.264076"], ["average_time", "2015-12-10 02:47:36.264076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.265853"], ["ends_at", "2015-12-10 02:47:36.265853"], ["average_time", "2015-12-10 02:47:36.265853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.269393"], ["updated_at", "2015-12-10 02:47:36.269393"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.273657"], ["ends_at", "2015-12-10 02:47:36.273657"], ["average_time", "2015-12-10 02:47:36.273657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2015-12-10 02:47:36.276036"], ["updated_at", "2015-12-10 02:47:36.276036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-12-10 02:47:36.280420"], ["updated_at", "2015-12-10 02:47:36.280420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.283080"], ["ends_at", "2015-12-10 02:47:36.283080"], ["average_time", "2015-12-10 02:47:36.283080"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.287003"], ["ends_at", "2015-12-10 02:47:36.287003"], ["average_time", "2015-12-10 02:47:36.287003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.289618"], ["updated_at", "2015-12-10 02:47:36.289618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.291943"], ["ends_at", "2015-12-10 02:47:36.291943"], ["average_time", "2015-12-10 02:47:36.291943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Article Load (0.1ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-12-10 02:47:36.295723"], ["updated_at", "2015-12-10 02:47:36.295723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.298152"], ["ends_at", "2015-12-10 02:47:36.298152"], ["average_time", "2015-12-10 02:47:36.298152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.301591"], ["ends_at", "2015-12-10 02:47:36.301591"], ["average_time", "2015-12-10 02:47:36.301591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.304193"], ["updated_at", "2015-12-10 02:47:36.304193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.306440"], ["ends_at", "2015-12-10 02:47:36.306440"], ["average_time", "2015-12-10 02:47:36.306440"]]  (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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Lebowski"], ["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2015-12-10 02:47:36.310342"], ["updated_at", "2015-12-10 02:47:36.310342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.312006"], ["ends_at", "2015-12-10 02:47:36.312006"], ["average_time", "2015-12-10 02:47:36.312006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.314054"], ["ends_at", "2015-12-10 02:47:36.314054"], ["average_time", "2015-12-10 02:47:36.314054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Bacon"], ["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2015-12-10 02:47:36.316430"], ["updated_at", "2015-12-10 02:47:36.316430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2015-12-10 02:47:36.320426"], ["ends_at", "2015-12-10 02:47:36.320426"], ["average_time", "2015-12-10 02:47:36.320426"]]  (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.1ms) rollback transaction