spec/internal/log/test.log in punching_bag-0.3.5 vs spec/internal/log/test.log in punching_bag-0.3.6

- old
+ new

@@ -12344,5 +12344,471 @@  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Thu, 03 Oct 2013 21:31:07 UTC +00:00], ["ends_at", Thu, 03 Oct 2013 21:31:07 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Thu, 03 Oct 2013 21:31:07 UTC +00:00]]  (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 +  (31.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime)  +  (16.0ms) CREATE TABLE "punches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "punchable_id" integer NOT NULL, "punchable_type" varchar(20) NOT NULL, "starts_at" datetime NOT NULL, "ends_at" datetime NOT NULL, "average_time" datetime NOT NULL, "hits" integer DEFAULT 1 NOT NULL) +  (26.3ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time") +  (15.8ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id") +  (16.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (16.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.9ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.0ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Hector"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "punches" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["ends_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["average_time", Mon, 07 Oct 2013 08:30:00 UTC +00:00], ["hits", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["ends_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["average_time", Mon, 07 Oct 2013 08:30:00 UTC +00:00], ["hits", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["ends_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["average_time", Mon, 07 Oct 2013 08:30:00 UTC +00:00], ["hits", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["ends_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = 1 [["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["average_time", Mon, 07 Oct 2013 08:30:00 UTC +00:00], ["hits", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]] +  (0.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" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["ends_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Punch Load (0.4ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2013-10-07 00:00:00.000000' AND punches.ends_at <= '2013-10-07 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]] + Punch Load (0.3ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2013-10-07 00:00:00.000000' AND punches.ends_at <= '2013-10-07 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bluths"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 09:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["ends_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 14 Oct 2013 07:00:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 08:00:00 UTC +00:00]] +  (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 >= '2013-10-07 00:00:00.000000' AND punches.ends_at <= '2013-10-07 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]] + Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2013-10-07 00:00:00.000000' AND punches.ends_at <= '2013-10-07 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.4ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 5 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Hipsters"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Lebowski"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["title", "Bacon"], ["updated_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["ends_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", Mon, 07 Oct 2013 17:21:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC +  (0.2ms) rollback transaction