punching_bag 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ee6eff172a92e624aa2ad2ccee8edf3aec7b138d54a83a986dc5cfebe6420c8
4
- data.tar.gz: 90a0196380df11cf448ad66152f894842b7081309095fbe8c2c2a15fe953d62d
3
+ metadata.gz: 9fd1a13341be82e0dd3b6a87bd82b76495125682863e71fb4f7a7119b61b0c4a
4
+ data.tar.gz: 9eddacf57af92c9be5fcf9255908bda19181a49e6bcf475927be032578755e14
5
5
  SHA512:
6
- metadata.gz: 92377bdeb232eef7f3c65a56ab79214c3997f9b4108355e639aa19bf95a03bec0cb2df6aea5eda44b746638da458483b1f9c7a6c1d6cef6f6f22bb468c1aa188
7
- data.tar.gz: 26bf502f21ae1c36873b89d5fab99e41201be8c74a7b0987879461687bc303cd0b6bac226affae0f0d607330ffe8463736f9c9bce4c821dce225dfa281f88c08
6
+ metadata.gz: 89194f0c59c59890a797c0f4373f71e932604f81e50f3a1bb6c9f12d324fa5debbe9632be5d4da8a89d24129725590ed0611adb0424518f8360473a3128c8eea
7
+ data.tar.gz: 501ec76e44179c8886d654024358a23a749abc854cd062001192ca81c0c023d5387f7689045296b2bc52d14b8085eb0e1b24f73f7854229254108b9ef9778ad3
@@ -1,3 +1,3 @@
1
1
  module PunchingBag
2
- VERSION = '0.6.1'
2
+ VERSION = '0.7.0'.freeze
3
3
  end
@@ -16228,3 +16228,566 @@
16228
16228
   (0.0ms) RELEASE SAVEPOINT active_record_1
16229
16229
  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 ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
16230
16230
   (0.8ms) rollback transaction
16231
+  (0.1ms) DROP TABLE IF EXISTS "articles"
16232
+  (1.1ms) SELECT sqlite_version(*)
16233
+  (0.9ms) CREATE TABLE "articles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
16234
+  (0.1ms) DROP TABLE IF EXISTS "punches"
16235
+  (0.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)
16236
+  (1.2ms) CREATE INDEX "index_punches_on_average_time" ON "punches" ("average_time")
16237
+  (1.3ms) CREATE INDEX "punchable_index" ON "punches" ("punchable_type", "punchable_id")
16238
+  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
16239
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
16240
+  (0.0ms) begin transaction
16241
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-12-18 02:17:35.958513"], ["updated_at", "2019-12-18 02:17:35.958513"]]
16242
+  (0.7ms) commit transaction
16243
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
16244
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
16245
+  (0.0ms) begin transaction
16246
+  (0.0ms) commit transaction
16247
+  (0.0ms) begin transaction
16248
+  (0.0ms) SAVEPOINT active_record_1
16249
+ Article Create (0.3ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Article 1"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2019-12-18 02:17:36.221960"], ["updated_at", "2019-12-18 02:17:36.221960"]]
16250
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16251
+  (0.1ms) SAVEPOINT active_record_1
16252
+ Punch Create (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.231700"], ["ends_at", "2019-12-18 02:17:36.231700"], ["average_time", "2019-12-18 02:17:36.231700"]]
16253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16254
+  (0.0ms) SAVEPOINT active_record_1
16255
+ Article Create (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Article 2"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2019-12-18 02:17:36.232934"], ["updated_at", "2019-12-18 02:17:36.232934"]]
16256
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16257
+  (0.0ms) SAVEPOINT active_record_1
16258
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.233933"], ["ends_at", "2019-12-18 02:17:36.233933"], ["average_time", "2019-12-18 02:17:36.233933"]]
16259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16260
+  (0.0ms) SAVEPOINT active_record_1
16261
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.235081"], ["ends_at", "2019-12-18 02:17:36.235081"], ["average_time", "2019-12-18 02:17:36.235081"]]
16262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16263
+ 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 ? [["punchable_type", "Article"], ["LIMIT", 5]]
16264
+  (0.3ms) rollback transaction
16265
+  (0.0ms) begin transaction
16266
+  (0.0ms) SAVEPOINT active_record_1
16267
+ Article Create (0.3ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Article 1"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2019-12-18 02:17:36.245557"], ["updated_at", "2019-12-18 02:17:36.245557"]]
16268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16269
+  (0.0ms) SAVEPOINT active_record_1
16270
+ Punch Create (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.246700"], ["ends_at", "2019-12-18 02:17:36.246700"], ["average_time", "2019-12-18 02:17:36.246700"]]
16271
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16272
+  (0.0ms) SAVEPOINT active_record_1
16273
+ Article Create (0.0ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Article 2"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2019-12-18 02:17:36.247580"], ["updated_at", "2019-12-18 02:17:36.247580"]]
16274
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16275
+  (0.0ms) SAVEPOINT active_record_1
16276
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.248268"], ["ends_at", "2019-12-18 02:17:36.248268"], ["average_time", "2019-12-18 02:17:36.248268"]]
16277
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16278
+  (0.0ms) SAVEPOINT active_record_1
16279
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.249028"], ["ends_at", "2019-12-18 02:17:36.249028"], ["average_time", "2019-12-18 02:17:36.249028"]]
16280
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16281
+ 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
16282
+  (0.3ms) rollback transaction
16283
+  (0.0ms) begin transaction
16284
+  (0.1ms) SAVEPOINT active_record_1
16285
+ Article Create (0.3ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Article 1"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2019-12-18 02:17:36.251662"], ["updated_at", "2019-12-18 02:17:36.251662"]]
16286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16287
+  (0.0ms) SAVEPOINT active_record_1
16288
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.253180"], ["ends_at", "2019-12-18 02:17:36.253180"], ["average_time", "2019-12-18 02:17:36.253180"]]
16289
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16290
+  (0.0ms) SAVEPOINT active_record_1
16291
+ Article Create (0.0ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Article 2"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2019-12-18 02:17:36.254099"], ["updated_at", "2019-12-18 02:17:36.254099"]]
16292
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16293
+  (0.0ms) SAVEPOINT active_record_1
16294
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.254792"], ["ends_at", "2019-12-18 02:17:36.254792"], ["average_time", "2019-12-18 02:17:36.254792"]]
16295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16296
+  (0.0ms) SAVEPOINT active_record_1
16297
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.255721"], ["ends_at", "2019-12-18 02:17:36.255721"], ["average_time", "2019-12-18 02:17:36.255721"]]
16298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16299
+ 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) ASC
16300
+  (0.3ms) rollback transaction
16301
+  (0.0ms) begin transaction
16302
+  (0.0ms) SAVEPOINT active_record_1
16303
+ Article Create (0.3ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2019-12-18 02:17:36.257922"], ["updated_at", "2019-12-18 02:17:36.257922"]]
16304
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16305
+  (0.3ms) rollback transaction
16306
+  (0.0ms) begin transaction
16307
+  (0.1ms) SELECT COUNT(*) FROM "punches"
16308
+  (0.0ms) SAVEPOINT active_record_1
16309
+ Article Create (0.3ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2019-12-18 02:17:36.262172"], ["updated_at", "2019-12-18 02:17:36.262172"]]
16310
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16311
+  (0.0ms) SAVEPOINT active_record_1
16312
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.263616"], ["ends_at", "2019-12-18 02:17:36.263616"], ["average_time", "2019-12-18 02:17:36.263616"]]
16313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16314
+  (0.0ms) SELECT COUNT(*) FROM "punches"
16315
+  (0.3ms) rollback transaction
16316
+  (0.0ms) begin transaction
16317
+  (0.1ms) SELECT COUNT(*) FROM "punches"
16318
+  (0.0ms) SAVEPOINT active_record_1
16319
+ Article Create (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2019-12-18 02:17:36.266145"], ["updated_at", "2019-12-18 02:17:36.266145"]]
16320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16321
+  (0.0ms) SAVEPOINT active_record_1
16322
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.267129"], ["ends_at", "2019-12-18 02:17:36.267129"], ["average_time", "2019-12-18 02:17:36.267129"]]
16323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16324
+  (0.0ms) SELECT COUNT(*) FROM "punches"
16325
+  (0.4ms) rollback transaction
16326
+  (0.0ms) begin transaction
16327
+  (0.1ms) SELECT SUM("punches"."hits") FROM "punches"
16328
+  (0.0ms) SAVEPOINT active_record_1
16329
+ Article Create (0.2ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hector"], ["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2019-12-18 02:17:36.270240"], ["updated_at", "2019-12-18 02:17:36.270240"]]
16330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16331
+  (0.0ms) SAVEPOINT active_record_1
16332
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time", "hits") VALUES (?, ?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.271199"], ["ends_at", "2019-12-18 02:17:36.271199"], ["average_time", "2019-12-18 02:17:36.271199"], ["hits", 2]]
16333
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16334
+  (0.1ms) SELECT SUM("punches"."hits") FROM "punches"
16335
+  (0.3ms) rollback transaction
16336
+  (0.0ms) begin transaction
16337
+  (0.0ms) rollback transaction
16338
+  (0.0ms) begin transaction
16339
+  (0.0ms) SAVEPOINT active_record_1
16340
+ Article Create (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", "2019-12-18 02:17:36.275254"], ["updated_at", "2019-12-18 02:17:36.275254"]]
16341
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16342
+  (0.3ms) rollback transaction
16343
+  (0.0ms) begin transaction
16344
+  (0.0ms) SAVEPOINT active_record_1
16345
+ Article Create (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", "2019-12-18 02:17:36.277782"], ["updated_at", "2019-12-18 02:17:36.277782"]]
16346
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16347
+  (0.6ms) rollback transaction
16348
+  (0.0ms) begin transaction
16349
+  (0.0ms) SAVEPOINT active_record_1
16350
+ Article Create (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", "2019-12-18 02:17:36.283704"], ["updated_at", "2019-12-18 02:17:36.283704"]]
16351
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16352
+  (0.3ms) rollback transaction
16353
+  (0.1ms) begin transaction
16354
+  (0.1ms) SAVEPOINT active_record_1
16355
+ Article Create (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", "2019-12-18 02:17:36.286773"], ["updated_at", "2019-12-18 02:17:36.286773"]]
16356
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16357
+  (0.3ms) rollback transaction
16358
+  (0.0ms) begin transaction
16359
+  (0.0ms) SAVEPOINT active_record_1
16360
+ Article Create (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", "2019-12-18 02:17:36.289191"], ["updated_at", "2019-12-18 02:17:36.289191"]]
16361
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16362
+  (0.3ms) rollback transaction
16363
+  (0.0ms) begin transaction
16364
+  (0.0ms) SAVEPOINT active_record_1
16365
+ Article Create (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", "2019-12-18 02:17:36.291427"], ["updated_at", "2019-12-18 02:17:36.291427"]]
16366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16367
+  (0.3ms) rollback transaction
16368
+  (0.0ms) begin transaction
16369
+  (0.0ms) SAVEPOINT active_record_1
16370
+ Article Create (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", "2019-12-18 02:17:36.293783"], ["updated_at", "2019-12-18 02:17:36.293783"]]
16371
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16372
+  (0.3ms) rollback transaction
16373
+  (0.1ms) begin transaction
16374
+  (0.1ms) SAVEPOINT active_record_1
16375
+ Article Create (0.6ms) 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", "2019-12-18 02:17:36.297412"], ["updated_at", "2019-12-18 02:17:36.297412"]]
16376
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16377
+  (0.3ms) rollback transaction
16378
+  (0.0ms) begin transaction
16379
+  (0.0ms) SAVEPOINT active_record_1
16380
+ Article Create (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", "2019-12-18 02:17:36.300171"], ["updated_at", "2019-12-18 02:17:36.300171"]]
16381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16382
+  (0.3ms) rollback transaction
16383
+  (0.0ms) begin transaction
16384
+  (0.0ms) SAVEPOINT active_record_1
16385
+ Article Create (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", "2019-12-18 02:17:36.302975"], ["updated_at", "2019-12-18 02:17:36.302975"]]
16386
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16387
+  (0.3ms) rollback transaction
16388
+  (0.0ms) begin transaction
16389
+  (0.0ms) SAVEPOINT active_record_1
16390
+ Article Create (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", "2019-12-18 02:17:36.305480"], ["updated_at", "2019-12-18 02:17:36.305480"]]
16391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16392
+  (0.3ms) rollback transaction
16393
+  (0.0ms) begin transaction
16394
+  (0.0ms) SAVEPOINT active_record_1
16395
+ Article Create (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", "2019-12-18 02:17:36.307673"], ["updated_at", "2019-12-18 02:17:36.307673"]]
16396
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16397
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2019-12-17 00:00:00' AND punches.ends_at <= '2019-12-17 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT ? [["punchable_id", 1], ["punchable_type", "Article"], ["LIMIT", 1]]
16398
+  (0.3ms) rollback transaction
16399
+  (0.0ms) begin transaction
16400
+  (0.0ms) SAVEPOINT active_record_1
16401
+ Article Create (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", "2019-12-18 02:17:36.318140"], ["updated_at", "2019-12-18 02:17:36.318140"]]
16402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16403
+  (0.3ms) rollback transaction
16404
+  (0.0ms) begin transaction
16405
+  (0.0ms) SAVEPOINT active_record_1
16406
+ Article Create (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", "2019-12-18 02:17:36.320758"], ["updated_at", "2019-12-18 02:17:36.320758"]]
16407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16408
+  (0.3ms) rollback transaction
16409
+  (0.0ms) begin transaction
16410
+  (0.0ms) SAVEPOINT active_record_1
16411
+ Article Create (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", "2019-12-18 02:17:36.323320"], ["updated_at", "2019-12-18 02:17:36.323320"]]
16412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16413
+  (0.3ms) rollback transaction
16414
+  (0.0ms) begin transaction
16415
+  (0.0ms) SAVEPOINT active_record_1
16416
+ Article Create (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", "2019-12-18 02:17:36.325776"], ["updated_at", "2019-12-18 02:17:36.325776"]]
16417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16418
+  (0.3ms) rollback transaction
16419
+  (0.0ms) begin transaction
16420
+  (0.1ms) SAVEPOINT active_record_1
16421
+ Article Create (0.7ms) 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", "2019-12-18 02:17:36.328625"], ["updated_at", "2019-12-18 02:17:36.328625"]]
16422
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16423
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2019-12-01 00:00:00' AND punches.ends_at <= '2019-12-31 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT ? [["punchable_id", 1], ["punchable_type", "Article"], ["LIMIT", 1]]
16424
+  (0.3ms) rollback transaction
16425
+  (0.0ms) begin transaction
16426
+  (0.0ms) SAVEPOINT active_record_1
16427
+ Article Create (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", "2019-12-18 02:17:36.333868"], ["updated_at", "2019-12-18 02:17:36.333868"]]
16428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16429
+  (0.4ms) rollback transaction
16430
+  (0.0ms) begin transaction
16431
+  (0.0ms) SAVEPOINT active_record_1
16432
+ Article Create (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", "2019-12-18 02:17:36.337196"], ["updated_at", "2019-12-18 02:17:36.337196"]]
16433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16434
+  (0.3ms) rollback transaction
16435
+  (0.0ms) begin transaction
16436
+  (0.0ms) SAVEPOINT active_record_1
16437
+ Article Create (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", "2019-12-18 02:17:36.339822"], ["updated_at", "2019-12-18 02:17:36.339822"]]
16438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16439
+  (0.3ms) rollback transaction
16440
+  (0.0ms) begin transaction
16441
+  (0.0ms) SAVEPOINT active_record_1
16442
+ Article Create (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", "2019-12-18 02:17:36.342063"], ["updated_at", "2019-12-18 02:17:36.342063"]]
16443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16444
+  (0.3ms) rollback transaction
16445
+  (0.0ms) begin transaction
16446
+  (0.0ms) SAVEPOINT active_record_1
16447
+ Article Create (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", "2019-12-18 02:17:36.344266"], ["updated_at", "2019-12-18 02:17:36.344266"]]
16448
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16449
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.hits > 1) AND (punches.starts_at >= '2019-01-01 00:00:00' AND punches.ends_at <= '2019-12-31 23:59:59.999999') ORDER BY punches.average_time DESC LIMIT ? [["punchable_id", 1], ["punchable_type", "Article"], ["LIMIT", 1]]
16450
+  (0.4ms) rollback transaction
16451
+  (0.0ms) begin transaction
16452
+  (0.0ms) SAVEPOINT active_record_1
16453
+ Article Create (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", "2019-12-18 02:17:36.348679"], ["updated_at", "2019-12-18 02:17:36.348679"]]
16454
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16455
+  (0.0ms) SAVEPOINT active_record_1
16456
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.349599"], ["ends_at", "2019-12-18 02:17:36.349599"], ["average_time", "2019-12-18 02:17:36.349599"]]
16457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16458
+  (0.1ms) SELECT COUNT(*) FROM "punches"
16459
+  (0.1ms) SELECT COUNT(*) FROM "punches"
16460
+  (0.3ms) rollback transaction
16461
+  (0.0ms) begin transaction
16462
+  (0.0ms) SAVEPOINT active_record_1
16463
+ Article Create (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", "2019-12-18 02:17:36.387871"], ["updated_at", "2019-12-18 02:17:36.387871"]]
16464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16465
+  (0.0ms) SAVEPOINT active_record_1
16466
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-17 09:00:00"], ["ends_at", "2019-12-17 09:00:00"], ["average_time", "2019-12-17 09:00:00"]]
16467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16468
+  (0.1ms) SAVEPOINT active_record_1
16469
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-24 07:00:00"], ["ends_at", "2019-12-24 07:00:00"], ["average_time", "2019-12-24 07:00:00"]]
16470
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16471
+  (0.0ms) SAVEPOINT active_record_1
16472
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-17 08:00:00"], ["ends_at", "2019-12-17 08:00:00"], ["average_time", "2019-12-17 08:00:00"]]
16473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16474
+  (0.0ms) SAVEPOINT active_record_1
16475
+ Punch Update (0.1ms) UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = ? [["starts_at", "2019-12-17 08:00:00"], ["average_time", "2019-12-17 08:30:00"], ["hits", 2], ["id", 1]]
16476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16477
+  (0.0ms) SAVEPOINT active_record_1
16478
+ Punch Destroy (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
16479
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16480
+  (0.4ms) rollback transaction
16481
+  (0.0ms) begin transaction
16482
+  (0.0ms) SAVEPOINT active_record_1
16483
+ Article Create (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", "2019-12-18 02:17:36.393960"], ["updated_at", "2019-12-18 02:17:36.393960"]]
16484
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16485
+  (0.0ms) SAVEPOINT active_record_1
16486
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-17 09:00:00"], ["ends_at", "2019-12-17 09:00:00"], ["average_time", "2019-12-17 09:00:00"]]
16487
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16488
+  (0.0ms) SAVEPOINT active_record_1
16489
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-24 07:00:00"], ["ends_at", "2019-12-24 07:00:00"], ["average_time", "2019-12-24 07:00:00"]]
16490
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16491
+  (0.0ms) SAVEPOINT active_record_1
16492
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-17 08:00:00"], ["ends_at", "2019-12-17 08:00:00"], ["average_time", "2019-12-17 08:00:00"]]
16493
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16494
+  (0.0ms) SAVEPOINT active_record_1
16495
+ Punch Update (0.1ms) UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = ? [["starts_at", "2019-12-17 08:00:00"], ["average_time", "2019-12-17 08:30:00"], ["hits", 2], ["id", 1]]
16496
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16497
+  (0.0ms) SAVEPOINT active_record_1
16498
+ Punch Destroy (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
16499
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16500
+  (0.3ms) rollback transaction
16501
+  (0.0ms) begin transaction
16502
+  (0.0ms) SAVEPOINT active_record_1
16503
+ Article Create (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", "2019-12-18 02:17:36.399819"], ["updated_at", "2019-12-18 02:17:36.399819"]]
16504
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16505
+  (0.0ms) SAVEPOINT active_record_1
16506
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-17 09:00:00"], ["ends_at", "2019-12-17 09:00:00"], ["average_time", "2019-12-17 09:00:00"]]
16507
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16508
+  (0.0ms) SAVEPOINT active_record_1
16509
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-24 07:00:00"], ["ends_at", "2019-12-24 07:00:00"], ["average_time", "2019-12-24 07:00:00"]]
16510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16511
+  (0.0ms) SAVEPOINT active_record_1
16512
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-17 08:00:00"], ["ends_at", "2019-12-17 08:00:00"], ["average_time", "2019-12-17 08:00:00"]]
16513
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16514
+  (0.0ms) SAVEPOINT active_record_1
16515
+ Punch Update (0.1ms) UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = ? [["starts_at", "2019-12-17 08:00:00"], ["average_time", "2019-12-17 08:30:00"], ["hits", 2], ["id", 1]]
16516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16517
+  (0.0ms) SAVEPOINT active_record_1
16518
+ Punch Destroy (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
16519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16520
+  (0.3ms) rollback transaction
16521
+  (0.0ms) begin transaction
16522
+  (0.0ms) SAVEPOINT active_record_1
16523
+ Article Create (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", "2019-12-18 02:17:36.406109"], ["updated_at", "2019-12-18 02:17:36.406109"]]
16524
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16525
+  (0.0ms) SAVEPOINT active_record_1
16526
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-17 09:00:00"], ["ends_at", "2019-12-17 09:00:00"], ["average_time", "2019-12-17 09:00:00"]]
16527
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16528
+  (0.1ms) SAVEPOINT active_record_1
16529
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-24 07:00:00"], ["ends_at", "2019-12-24 07:00:00"], ["average_time", "2019-12-24 07:00:00"]]
16530
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16531
+  (0.0ms) SAVEPOINT active_record_1
16532
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-17 08:00:00"], ["ends_at", "2019-12-17 08:00:00"], ["average_time", "2019-12-17 08:00:00"]]
16533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16534
+  (0.0ms) SAVEPOINT active_record_1
16535
+ Punch Update (0.1ms) UPDATE "punches" SET "starts_at" = ?, "average_time" = ?, "hits" = ? WHERE "punches"."id" = ? [["starts_at", "2019-12-17 08:00:00"], ["average_time", "2019-12-17 08:30:00"], ["hits", 2], ["id", 1]]
16536
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16537
+  (0.0ms) SAVEPOINT active_record_1
16538
+ Punch Destroy (0.0ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
16539
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16540
+  (0.3ms) rollback transaction
16541
+  (0.0ms) begin transaction
16542
+  (0.1ms) SAVEPOINT active_record_1
16543
+ Article Create (0.4ms) 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", "2019-12-18 02:17:36.423108"], ["updated_at", "2019-12-18 02:17:36.423108"]]
16544
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16545
+  (0.0ms) SAVEPOINT active_record_1
16546
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-17 09:00:00"], ["ends_at", "2019-12-17 09:00:00"], ["average_time", "2019-12-17 09:00:00"]]
16547
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16548
+  (0.0ms) SAVEPOINT active_record_1
16549
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-24 07:00:00"], ["ends_at", "2019-12-24 07:00:00"], ["average_time", "2019-12-24 07:00:00"]]
16550
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16551
+  (0.0ms) SAVEPOINT active_record_1
16552
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-17 08:00:00"], ["ends_at", "2019-12-17 08:00:00"], ["average_time", "2019-12-17 08:00:00"]]
16553
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16554
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2019-12-17 00:00:00' AND punches.ends_at <= '2019-12-17 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT ? [["punchable_id", 1], ["punchable_type", "Article"], ["LIMIT", 1]]
16555
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2019-12-17 00:00:00' AND punches.ends_at <= '2019-12-17 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT ? [["punchable_id", 1], ["punchable_type", "Article"], ["LIMIT", 1]]
16556
+  (0.5ms) rollback transaction
16557
+  (0.1ms) begin transaction
16558
+  (0.1ms) SAVEPOINT active_record_1
16559
+ Article Create (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", "2019-12-18 02:17:36.431771"], ["updated_at", "2019-12-18 02:17:36.431771"]]
16560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16561
+  (0.1ms) SAVEPOINT active_record_1
16562
+ Punch Create (0.4ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-17 09:00:00"], ["ends_at", "2019-12-17 09:00:00"], ["average_time", "2019-12-17 09:00:00"]]
16563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16564
+  (0.0ms) SAVEPOINT active_record_1
16565
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-24 07:00:00"], ["ends_at", "2019-12-24 07:00:00"], ["average_time", "2019-12-24 07:00:00"]]
16566
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16567
+  (0.0ms) SAVEPOINT active_record_1
16568
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-17 08:00:00"], ["ends_at", "2019-12-17 08:00:00"], ["average_time", "2019-12-17 08:00:00"]]
16569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16570
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2019-12-17 00:00:00' AND punches.ends_at <= '2019-12-17 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT ? [["punchable_id", 1], ["punchable_type", "Article"], ["LIMIT", 1]]
16571
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2019-12-17 00:00:00' AND punches.ends_at <= '2019-12-17 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT ? [["punchable_id", 1], ["punchable_type", "Article"], ["LIMIT", 1]]
16572
+  (0.3ms) rollback transaction
16573
+  (0.0ms) begin transaction
16574
+  (0.0ms) SAVEPOINT active_record_1
16575
+ Article Create (0.3ms) 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", "2019-12-18 02:17:36.439999"], ["updated_at", "2019-12-18 02:17:36.439999"]]
16576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16577
+  (0.1ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
16578
+  (0.3ms) rollback transaction
16579
+  (0.0ms) begin transaction
16580
+  (0.0ms) SAVEPOINT active_record_1
16581
+ Article Create (0.3ms) 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", "2019-12-18 02:17:36.442626"], ["updated_at", "2019-12-18 02:17:36.442626"]]
16582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16583
+  (0.0ms) SAVEPOINT active_record_1
16584
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.443683"], ["ends_at", "2019-12-18 02:17:36.443683"], ["average_time", "2019-12-18 02:17:36.443683"]]
16585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16586
+  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
16587
+  (0.3ms) rollback transaction
16588
+  (0.1ms) begin transaction
16589
+  (0.1ms) SAVEPOINT active_record_1
16590
+ Article Create (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", "2019-12-18 02:17:36.447110"], ["updated_at", "2019-12-18 02:17:36.447110"]]
16591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16592
+  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
16593
+  (0.0ms) SAVEPOINT active_record_1
16594
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.449135"], ["ends_at", "2019-12-18 02:17:36.449135"], ["average_time", "2019-12-18 02:17:36.449135"]]
16595
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16596
+  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
16597
+  (0.4ms) rollback transaction
16598
+  (0.0ms) begin transaction
16599
+  (0.0ms) SAVEPOINT active_record_1
16600
+ Article Create (0.5ms) 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", "2019-12-18 02:17:36.451972"], ["updated_at", "2019-12-18 02:17:36.451972"]]
16601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16602
+  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
16603
+  (0.0ms) SAVEPOINT active_record_1
16604
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time", "hits") VALUES (?, ?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.453974"], ["ends_at", "2019-12-18 02:17:36.453974"], ["average_time", "2019-12-18 02:17:36.453974"], ["hits", 2]]
16605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16606
+  (0.0ms) SELECT SUM("punches"."hits") FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
16607
+  (0.3ms) rollback transaction
16608
+  (0.0ms) begin transaction
16609
+  (0.0ms) SAVEPOINT active_record_1
16610
+ Article Create (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", "2019-12-18 02:17:36.456157"], ["updated_at", "2019-12-18 02:17:36.456157"]]
16611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16612
+  (0.0ms) SAVEPOINT active_record_1
16613
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.457152"], ["ends_at", "2019-12-18 02:17:36.457152"], ["average_time", "2019-12-18 02:17:36.457152"]]
16614
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16615
+  (0.0ms) SAVEPOINT active_record_1
16616
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.458007"], ["ends_at", "2019-12-18 02:17:36.458007"], ["average_time", "2019-12-18 02:17:36.458007"]]
16617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16618
+  (0.0ms) SAVEPOINT active_record_1
16619
+ Article Create (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", "2019-12-18 02:17:36.458699"], ["updated_at", "2019-12-18 02:17:36.458699"]]
16620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16621
+  (0.0ms) SAVEPOINT active_record_1
16622
+ Punch Create (0.0ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.459333"], ["ends_at", "2019-12-18 02:17:36.459333"], ["average_time", "2019-12-18 02:17:36.459333"]]
16623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16624
+ 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 ? [["punchable_type", "Article"], ["LIMIT", 5]]
16625
+  (0.4ms) rollback transaction
16626
+  (0.0ms) begin transaction
16627
+  (0.1ms) SAVEPOINT active_record_1
16628
+ Article Create (0.5ms) 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", "2019-12-18 02:17:36.462289"], ["updated_at", "2019-12-18 02:17:36.462289"]]
16629
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16630
+  (0.0ms) SAVEPOINT active_record_1
16631
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.464406"], ["ends_at", "2019-12-18 02:17:36.464406"], ["average_time", "2019-12-18 02:17:36.464406"]]
16632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16633
+  (0.0ms) SAVEPOINT active_record_1
16634
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.465501"], ["ends_at", "2019-12-18 02:17:36.465501"], ["average_time", "2019-12-18 02:17:36.465501"]]
16635
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16636
+  (0.0ms) SAVEPOINT active_record_1
16637
+ Article Create (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", "2019-12-18 02:17:36.466218"], ["updated_at", "2019-12-18 02:17:36.466218"]]
16638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16639
+  (0.0ms) SAVEPOINT active_record_1
16640
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.466902"], ["ends_at", "2019-12-18 02:17:36.466902"], ["average_time", "2019-12-18 02:17:36.466902"]]
16641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16642
+ 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 ? [["punchable_type", "Article"], ["LIMIT", 5]]
16643
+  (0.4ms) rollback transaction
16644
+  (0.0ms) begin transaction
16645
+  (0.0ms) SAVEPOINT active_record_1
16646
+ Article Create (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", "2019-12-18 02:17:36.470069"], ["updated_at", "2019-12-18 02:17:36.470069"]]
16647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16648
+  (0.0ms) SAVEPOINT active_record_1
16649
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.471097"], ["ends_at", "2019-12-18 02:17:36.471097"], ["average_time", "2019-12-18 02:17:36.471097"]]
16650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16651
+  (0.0ms) SAVEPOINT active_record_1
16652
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.471940"], ["ends_at", "2019-12-18 02:17:36.471940"], ["average_time", "2019-12-18 02:17:36.471940"]]
16653
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16654
+  (0.0ms) SAVEPOINT active_record_1
16655
+ Article Create (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", "2019-12-18 02:17:36.473032"], ["updated_at", "2019-12-18 02:17:36.473032"]]
16656
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16657
+  (0.0ms) SAVEPOINT active_record_1
16658
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.473906"], ["ends_at", "2019-12-18 02:17:36.473906"], ["average_time", "2019-12-18 02:17:36.473906"]]
16659
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16660
+  (0.0ms) SAVEPOINT active_record_1
16661
+ Article Create (0.1ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2019-12-18 02:17:36.474810"], ["updated_at", "2019-12-18 02:17:36.474810"]]
16662
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16663
+ 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 ? [["punchable_type", "Article"], ["LIMIT", 5]]
16664
+  (0.3ms) rollback transaction
16665
+  (0.0ms) begin transaction
16666
+  (0.0ms) SAVEPOINT active_record_1
16667
+ Article Create (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", "2019-12-18 02:17:36.477537"], ["updated_at", "2019-12-18 02:17:36.477537"]]
16668
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16669
+  (0.1ms) SAVEPOINT active_record_1
16670
+ Punch Create (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.479726"], ["ends_at", "2019-12-18 02:17:36.479726"], ["average_time", "2019-12-18 02:17:36.479726"]]
16671
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16672
+  (0.0ms) SAVEPOINT active_record_1
16673
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.481782"], ["ends_at", "2019-12-18 02:17:36.481782"], ["average_time", "2019-12-18 02:17:36.481782"]]
16674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16675
+  (0.0ms) SAVEPOINT active_record_1
16676
+ Article Create (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", "2019-12-18 02:17:36.482739"], ["updated_at", "2019-12-18 02:17:36.482739"]]
16677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16678
+  (0.0ms) SAVEPOINT active_record_1
16679
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.483630"], ["ends_at", "2019-12-18 02:17:36.483630"], ["average_time", "2019-12-18 02:17:36.483630"]]
16680
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16681
+ 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 ? [["punchable_type", "Article"], ["LIMIT", 1]]
16682
+  (0.4ms) rollback transaction
16683
+  (0.0ms) begin transaction
16684
+  (0.0ms) SAVEPOINT active_record_1
16685
+ Article Create (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", "2019-12-18 02:17:36.487538"], ["updated_at", "2019-12-18 02:17:36.487538"]]
16686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16687
+  (0.0ms) SAVEPOINT active_record_1
16688
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.488741"], ["ends_at", "2019-12-18 02:17:36.488741"], ["average_time", "2019-12-18 02:17:36.488741"]]
16689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16690
+  (0.0ms) SAVEPOINT active_record_1
16691
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.489645"], ["ends_at", "2019-12-18 02:17:36.489645"], ["average_time", "2019-12-18 02:17:36.489645"]]
16692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16693
+  (0.0ms) SAVEPOINT active_record_1
16694
+ Article Create (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", "2019-12-18 02:17:36.490342"], ["updated_at", "2019-12-18 02:17:36.490342"]]
16695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16696
+  (0.0ms) SAVEPOINT active_record_1
16697
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.490973"], ["ends_at", "2019-12-18 02:17:36.490973"], ["average_time", "2019-12-18 02:17:36.490973"]]
16698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16699
+ 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 ? OFFSET ? [["punchable_type", "Article"], ["LIMIT", 1], ["OFFSET", 1]]
16700
+  (0.4ms) rollback transaction
16701
+  (0.0ms) begin transaction
16702
+  (0.0ms) SAVEPOINT active_record_1
16703
+ Article Create (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", "2019-12-18 02:17:36.493930"], ["updated_at", "2019-12-18 02:17:36.493930"]]
16704
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16705
+  (0.0ms) SAVEPOINT active_record_1
16706
+ Punch Create (0.2ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.495112"], ["ends_at", "2019-12-18 02:17:36.495112"], ["average_time", "2019-12-18 02:17:36.495112"]]
16707
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16708
+  (0.0ms) SAVEPOINT active_record_1
16709
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.496598"], ["ends_at", "2019-12-18 02:17:36.496598"], ["average_time", "2019-12-18 02:17:36.496598"]]
16710
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16711
+  (0.0ms) SAVEPOINT active_record_1
16712
+ Article Create (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", "2019-12-18 02:17:36.497843"], ["updated_at", "2019-12-18 02:17:36.497843"]]
16713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16714
+  (0.0ms) SAVEPOINT active_record_1
16715
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.498540"], ["ends_at", "2019-12-18 02:17:36.498540"], ["average_time", "2019-12-18 02:17:36.498540"]]
16716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16717
+ 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
16718
+  (0.4ms) rollback transaction
16719
+  (0.0ms) begin transaction
16720
+  (0.1ms) SAVEPOINT active_record_1
16721
+ Article Create (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", "2019-12-18 02:17:36.501471"], ["updated_at", "2019-12-18 02:17:36.501471"]]
16722
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16723
+  (0.1ms) SAVEPOINT active_record_1
16724
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.502855"], ["ends_at", "2019-12-18 02:17:36.502855"], ["average_time", "2019-12-18 02:17:36.502855"]]
16725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16726
+  (0.1ms) SAVEPOINT active_record_1
16727
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.503956"], ["ends_at", "2019-12-18 02:17:36.503956"], ["average_time", "2019-12-18 02:17:36.503956"]]
16728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16729
+  (0.0ms) SAVEPOINT active_record_1
16730
+ Article Create (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", "2019-12-18 02:17:36.504670"], ["updated_at", "2019-12-18 02:17:36.504670"]]
16731
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16732
+  (0.0ms) SAVEPOINT active_record_1
16733
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.505313"], ["ends_at", "2019-12-18 02:17:36.505313"], ["average_time", "2019-12-18 02:17:36.505313"]]
16734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16735
+  (0.0ms) SAVEPOINT active_record_1
16736
+ Article Create (0.0ms) INSERT INTO "articles" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Hipsters"], ["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2019-12-18 02:17:36.506012"], ["updated_at", "2019-12-18 02:17:36.506012"]]
16737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16738
+ 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
16739
+  (0.3ms) rollback transaction
16740
+  (0.0ms) begin transaction
16741
+  (0.0ms) SAVEPOINT active_record_1
16742
+ Article Create (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", "2019-12-18 02:17:36.508057"], ["updated_at", "2019-12-18 02:17:36.508057"]]
16743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16744
+  (0.0ms) SAVEPOINT active_record_1
16745
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.509056"], ["ends_at", "2019-12-18 02:17:36.509056"], ["average_time", "2019-12-18 02:17:36.509056"]]
16746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16747
+  (0.0ms) SAVEPOINT active_record_1
16748
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.509989"], ["ends_at", "2019-12-18 02:17:36.509989"], ["average_time", "2019-12-18 02:17:36.509989"]]
16749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16750
+  (0.0ms) SAVEPOINT active_record_1
16751
+ Article Create (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", "2019-12-18 02:17:36.510700"], ["updated_at", "2019-12-18 02:17:36.510700"]]
16752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16753
+  (0.0ms) SAVEPOINT active_record_1
16754
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.511568"], ["ends_at", "2019-12-18 02:17:36.511568"], ["average_time", "2019-12-18 02:17:36.511568"]]
16755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16756
+ 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
16757
+  (0.5ms) rollback transaction
16758
+  (0.0ms) begin transaction
16759
+  (0.0ms) SAVEPOINT active_record_1
16760
+ Article Create (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", "2019-12-18 02:17:36.515308"], ["updated_at", "2019-12-18 02:17:36.515308"]]
16761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16762
+  (0.0ms) SAVEPOINT active_record_1
16763
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.516336"], ["ends_at", "2019-12-18 02:17:36.516336"], ["average_time", "2019-12-18 02:17:36.516336"]]
16764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16765
+  (0.0ms) SAVEPOINT active_record_1
16766
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.517188"], ["ends_at", "2019-12-18 02:17:36.517188"], ["average_time", "2019-12-18 02:17:36.517188"]]
16767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16768
+  (0.1ms) SAVEPOINT active_record_1
16769
+ Article Create (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", "2019-12-18 02:17:36.518096"], ["updated_at", "2019-12-18 02:17:36.518096"]]
16770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16771
+  (0.0ms) SAVEPOINT active_record_1
16772
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.518992"], ["ends_at", "2019-12-18 02:17:36.518992"], ["average_time", "2019-12-18 02:17:36.518992"]]
16773
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16774
+ 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 ? [["LIMIT", 1]]
16775
+  (0.3ms) rollback transaction
16776
+  (0.0ms) begin transaction
16777
+  (0.0ms) SAVEPOINT active_record_1
16778
+ Article Create (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", "2019-12-18 02:17:36.521696"], ["updated_at", "2019-12-18 02:17:36.521696"]]
16779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16780
+  (0.0ms) SAVEPOINT active_record_1
16781
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.522919"], ["ends_at", "2019-12-18 02:17:36.522919"], ["average_time", "2019-12-18 02:17:36.522919"]]
16782
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16783
+  (0.0ms) SAVEPOINT active_record_1
16784
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.524056"], ["ends_at", "2019-12-18 02:17:36.524056"], ["average_time", "2019-12-18 02:17:36.524056"]]
16785
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16786
+  (0.0ms) SAVEPOINT active_record_1
16787
+ Article Create (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", "2019-12-18 02:17:36.524981"], ["updated_at", "2019-12-18 02:17:36.524981"]]
16788
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16789
+  (0.0ms) SAVEPOINT active_record_1
16790
+ Punch Create (0.1ms) INSERT INTO "punches" ("punchable_id", "punchable_type", "starts_at", "ends_at", "average_time") VALUES (?, ?, ?, ?, ?) [["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2019-12-18 02:17:36.526056"], ["ends_at", "2019-12-18 02:17:36.526056"], ["average_time", "2019-12-18 02:17:36.526056"]]
16791
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16792
+ 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 ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
16793
+  (0.4ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: punching_bag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Crownoble
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-19 00:00:00.000000000 Z
11
+ date: 2019-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: voight_kampff
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0.2'
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0.2'
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: activerecord
43
43
  requirement: !ruby/object:Gem::Requirement