punching_bag 0.3.8 → 0.3.9

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
  SHA1:
3
- metadata.gz: 71617beebc914ddf6af5e1457d2c8578638cfc84
4
- data.tar.gz: b49d3aa5db7689d5cbc29158108e6d3d49c91f26
3
+ metadata.gz: 6fe63b6081c438a8ced17c1944be138097f4d2b3
4
+ data.tar.gz: 3b7fc5756851039af3a0b82e195fc537b46541ce
5
5
  SHA512:
6
- metadata.gz: 0510e7e99c28dd3bc46cb6ef0d5b0513951f97c0a61a87391af310903654ed7d9c82bdfec5e0af26e0c5491e508e10434c943a1da7bd942f63ad11520b6bed62
7
- data.tar.gz: 0ac52d03d9bd4e9ac61227ca4d6f2e36161af61f18d1e002afc2fa68f241259f31e43dc3978d7281e0450b6ac46890acacc69b17997e46dd758ff99dbaacd0cd
6
+ metadata.gz: 9204bfffe1fc54c04d96587f9b3737ddf988763c3d94dd4393e562610cb55c00d4a06359768cf71f5685c73604801e774125bbaf326490233fbc9b4bacfed056
7
+ data.tar.gz: 4707eb7c9625426f0a2c5621ab25e25c585a2953dddd00b58bbf2139809b0f1733a3e448f1e6736679f3fa8b8a5a07f67fbfc36de7eddce7ffd03d62dcdd64df
data/app/models/punch.rb CHANGED
@@ -99,6 +99,38 @@ class Punch < ActiveRecord::Base
99
99
  sums.values.inject(:+).to_f / sums.length
100
100
  end
101
101
 
102
+ def self.combine_by_day(punchable)
103
+ combine_by :day, punchable
104
+ end
105
+
106
+ def self.combine_by_monthday(punchable)
107
+ combine_by :month, punchable
108
+ end
109
+
110
+ def self.combine_by_year(punchable)
111
+ combine_by :year, punchable
112
+ end
113
+
114
+ def self.combine_by(timeframe, punchable)
115
+ combo = nil
116
+ punches = punchable.punches.by_timeframe(timeframe)
117
+
118
+ if punches.length > 1
119
+ timestamps = punches.map{|p| [p.average_time.to_i] * p.hits}.flatten
120
+
121
+ combo = Punch.new(punchable: punchable)
122
+ combo.starts_at = punches.map(&:starts_at).min
123
+ combo.ends_at = punches.map(&:ends_at).max
124
+ combo.average_time = Time.at(timestamps.sum / timestamps.length).to_datetime
125
+ combo.hits = punches.map(&:hits).sum
126
+ combo.save!
127
+
128
+ punches.delete_all
129
+ end
130
+
131
+ combo
132
+ end
133
+
102
134
  private
103
135
 
104
136
  def set_defaults
@@ -1,3 +1,3 @@
1
1
  module PunchingBag
2
- VERSION = '0.3.8'
2
+ VERSION = '0.3.9'
3
3
  end
@@ -12,20 +12,20 @@ namespace :punching_bag do
12
12
  punchable = punchable_type.constantize.find(punchable_id)
13
13
 
14
14
  # by_year
15
- punchable.punches.before(args[:by_year_after].years.ago).each do |punch|
15
+ punchable.punches.before(args[:by_year_after].to_i.years.ago).each do |punch|
16
16
  punch.combine_by_year
17
17
  end
18
18
 
19
19
  # by_month
20
- punchable.punches.before(args[:by_month_after].months.ago).each do |punch|
20
+ punchable.punches.before(args[:by_month_after].to_i.months.ago).each do |punch|
21
21
  punch.combine_by_month
22
22
  end
23
23
 
24
24
  # by_day
25
- punchable.punches.before(args[:by_day_after].days.ago).each do |punch|
25
+ punchable.punches.before(args[:by_day_after].to_i.days.ago).each do |punch|
26
26
  punch.combine_by_day
27
27
  end
28
28
  end
29
29
  end
30
30
  end
31
- end
31
+ end
@@ -17067,3 +17067,2181 @@
17067
17067
   (0.1ms) RELEASE SAVEPOINT active_record_1
17068
17068
  Article Load (0.2ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1
17069
17069
   (0.2ms) rollback transaction
17070
+  (1.1ms) begin transaction
17071
+  (0.1ms) SAVEPOINT active_record_1
17072
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-22 06:04:05.117383"], ["title", "Hector"], ["updated_at", "2014-07-22 06:04:05.117383"]]
17073
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17074
+  (0.2ms) rollback transaction
17075
+  (0.1ms) begin transaction
17076
+  (0.1ms) SELECT COUNT(*) FROM "punches"
17077
+  (0.1ms) SAVEPOINT active_record_1
17078
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-22 06:04:05.127918"], ["title", "Hector"], ["updated_at", "2014-07-22 06:04:05.127918"]]
17079
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17080
+  (0.1ms) SAVEPOINT active_record_1
17081
+ SQL (1.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.150484"], ["ends_at", "2014-07-22 06:04:05.150484"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.150484"]]
17082
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17083
+  (0.2ms) SELECT COUNT(*) FROM "punches"
17084
+  (0.3ms) rollback transaction
17085
+  (0.1ms) begin transaction
17086
+  (0.1ms) SELECT COUNT(*) FROM "punches"
17087
+  (0.1ms) SAVEPOINT active_record_1
17088
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-22 06:04:05.160991"], ["title", "Hector"], ["updated_at", "2014-07-22 06:04:05.160991"]]
17089
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17090
+  (0.1ms) SAVEPOINT active_record_1
17091
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.163716"], ["ends_at", "2014-07-22 06:04:05.163716"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.163716"]]
17092
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17093
+  (0.1ms) SELECT COUNT(*) FROM "punches"
17094
+  (0.2ms) rollback transaction
17095
+  (0.1ms) begin transaction
17096
+  (0.1ms) rollback transaction
17097
+  (0.1ms) begin transaction
17098
+  (0.1ms) SAVEPOINT active_record_1
17099
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.173505"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.173505"]]
17100
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17101
+  (0.2ms) rollback transaction
17102
+  (0.1ms) begin transaction
17103
+  (0.1ms) SAVEPOINT active_record_1
17104
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.177635"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.177635"]]
17105
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17106
+  (0.2ms) rollback transaction
17107
+  (0.1ms) begin transaction
17108
+  (0.1ms) SAVEPOINT active_record_1
17109
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.182282"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.182282"]]
17110
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17111
+  (0.2ms) rollback transaction
17112
+  (0.1ms) begin transaction
17113
+  (0.1ms) SAVEPOINT active_record_1
17114
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.187287"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.187287"]]
17115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17116
+  (0.2ms) rollback transaction
17117
+  (0.1ms) begin transaction
17118
+  (0.1ms) SAVEPOINT active_record_1
17119
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.192127"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.192127"]]
17120
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17121
+  (0.4ms) rollback transaction
17122
+  (0.1ms) begin transaction
17123
+  (0.1ms) SAVEPOINT active_record_1
17124
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.198028"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.198028"]]
17125
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17126
+  (0.2ms) rollback transaction
17127
+  (0.1ms) begin transaction
17128
+  (0.1ms) SAVEPOINT active_record_1
17129
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.202386"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.202386"]]
17130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17131
+  (0.2ms) rollback transaction
17132
+  (0.1ms) begin transaction
17133
+  (0.0ms) SAVEPOINT active_record_1
17134
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.206145"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.206145"]]
17135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17136
+  (0.2ms) rollback transaction
17137
+  (0.1ms) begin transaction
17138
+  (0.1ms) SAVEPOINT active_record_1
17139
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.210007"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.210007"]]
17140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17141
+  (0.2ms) rollback transaction
17142
+  (0.1ms) begin transaction
17143
+  (0.1ms) SAVEPOINT active_record_1
17144
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.214490"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.214490"]]
17145
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17146
+  (0.3ms) rollback transaction
17147
+  (0.1ms) begin transaction
17148
+  (0.1ms) SAVEPOINT active_record_1
17149
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.220493"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.220493"]]
17150
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17151
+  (0.2ms) rollback transaction
17152
+  (0.1ms) begin transaction
17153
+  (0.1ms) SAVEPOINT active_record_1
17154
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.225830"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.225830"]]
17155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17156
+  (0.3ms) rollback transaction
17157
+  (0.1ms) begin transaction
17158
+  (0.1ms) SAVEPOINT active_record_1
17159
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.232167"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.232167"]]
17160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17161
+  (0.2ms) rollback transaction
17162
+  (0.1ms) begin transaction
17163
+  (0.1ms) SAVEPOINT active_record_1
17164
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.237033"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.237033"]]
17165
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17166
+  (0.2ms) rollback transaction
17167
+  (0.1ms) begin transaction
17168
+  (0.1ms) SAVEPOINT active_record_1
17169
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.241292"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.241292"]]
17170
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17171
+  (0.3ms) rollback transaction
17172
+  (0.1ms) begin transaction
17173
+  (0.1ms) SAVEPOINT active_record_1
17174
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.245779"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.245779"]]
17175
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17176
+  (0.2ms) rollback transaction
17177
+  (0.1ms) begin transaction
17178
+  (0.1ms) SAVEPOINT active_record_1
17179
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.250656"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.250656"]]
17180
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17181
+  (0.2ms) rollback transaction
17182
+  (0.1ms) begin transaction
17183
+  (0.1ms) SAVEPOINT active_record_1
17184
+ SQL (3.9ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.254865"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.254865"]]
17185
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17186
+  (0.3ms) rollback transaction
17187
+  (0.1ms) begin transaction
17188
+  (0.1ms) SAVEPOINT active_record_1
17189
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.263730"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.263730"]]
17190
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17191
+  (0.2ms) rollback transaction
17192
+  (0.1ms) begin transaction
17193
+  (0.1ms) SAVEPOINT active_record_1
17194
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.268020"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.268020"]]
17195
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17196
+  (0.2ms) rollback transaction
17197
+  (0.1ms) begin transaction
17198
+  (0.1ms) SAVEPOINT active_record_1
17199
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.272085"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.272085"]]
17200
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17201
+  (0.2ms) rollback transaction
17202
+  (0.1ms) begin transaction
17203
+  (0.1ms) SAVEPOINT active_record_1
17204
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.276651"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.276651"]]
17205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17206
+  (0.2ms) rollback transaction
17207
+  (0.2ms) begin transaction
17208
+  (0.1ms) SAVEPOINT active_record_1
17209
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.282073"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.282073"]]
17210
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17211
+  (0.2ms) SAVEPOINT active_record_1
17212
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.285669"], ["ends_at", "2014-07-22 06:04:05.285669"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.285669"]]
17213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17214
+  (0.2ms) SELECT COUNT(*) FROM "punches"
17215
+  (0.2ms) SELECT COUNT(*) FROM "punches"
17216
+  (0.3ms) rollback transaction
17217
+  (0.1ms) begin transaction
17218
+  (0.1ms) SAVEPOINT active_record_1
17219
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.294489"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.294489"]]
17220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17221
+  (0.1ms) SAVEPOINT active_record_1
17222
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
17223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17224
+  (0.1ms) SAVEPOINT active_record_1
17225
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
17226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17227
+  (0.0ms) SAVEPOINT active_record_1
17228
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
17229
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17230
+  (0.1ms) SAVEPOINT active_record_1
17231
+ SQL (0.2ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
17232
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17233
+  (0.1ms) SAVEPOINT active_record_1
17234
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
17235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17236
+  (0.2ms) rollback transaction
17237
+  (0.1ms) begin transaction
17238
+  (0.1ms) SAVEPOINT active_record_1
17239
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.309011"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.309011"]]
17240
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17241
+  (0.1ms) SAVEPOINT active_record_1
17242
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
17243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17244
+  (0.1ms) SAVEPOINT active_record_1
17245
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
17246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17247
+  (0.1ms) SAVEPOINT active_record_1
17248
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
17249
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17250
+  (0.1ms) SAVEPOINT active_record_1
17251
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
17252
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17253
+  (0.1ms) SAVEPOINT active_record_1
17254
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
17255
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17256
+  (0.2ms) rollback transaction
17257
+  (0.1ms) begin transaction
17258
+  (0.1ms) SAVEPOINT active_record_1
17259
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.323202"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.323202"]]
17260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17261
+  (0.1ms) SAVEPOINT active_record_1
17262
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
17263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17264
+  (0.1ms) SAVEPOINT active_record_1
17265
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
17266
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17267
+  (0.1ms) SAVEPOINT active_record_1
17268
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
17269
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17270
+  (0.1ms) SAVEPOINT active_record_1
17271
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
17272
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17273
+  (0.0ms) SAVEPOINT active_record_1
17274
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
17275
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17276
+  (0.2ms) rollback transaction
17277
+  (0.1ms) begin transaction
17278
+  (0.1ms) SAVEPOINT active_record_1
17279
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.337547"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.337547"]]
17280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17281
+  (0.1ms) SAVEPOINT active_record_1
17282
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
17283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17284
+  (0.1ms) SAVEPOINT active_record_1
17285
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
17286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17287
+  (0.1ms) SAVEPOINT active_record_1
17288
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
17289
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17290
+  (0.1ms) SAVEPOINT active_record_1
17291
+ SQL (0.2ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-21 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-21 08:00:00.000000"]]
17292
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17293
+  (0.1ms) SAVEPOINT active_record_1
17294
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
17295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17296
+  (0.3ms) rollback transaction
17297
+  (0.1ms) begin transaction
17298
+  (0.1ms) SAVEPOINT active_record_1
17299
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.353607"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.353607"]]
17300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17301
+  (0.1ms) SAVEPOINT active_record_1
17302
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
17303
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17304
+  (0.1ms) SAVEPOINT active_record_1
17305
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
17306
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17307
+  (0.0ms) SAVEPOINT active_record_1
17308
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
17309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17310
+ Punch Load (0.3ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
17311
+ Punch Load (0.4ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
17312
+  (0.4ms) rollback transaction
17313
+  (0.1ms) begin transaction
17314
+  (0.2ms) SAVEPOINT active_record_1
17315
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-22 06:04:05.385174"], ["title", "Bluths"], ["updated_at", "2014-07-22 06:04:05.385174"]]
17316
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17317
+  (0.1ms) SAVEPOINT active_record_1
17318
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-21 09:00:00.000000"], ["ends_at", "2014-07-21 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 09:00:00.000000"]]
17319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17320
+  (0.1ms) SAVEPOINT active_record_1
17321
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-28 07:00:00.000000"], ["ends_at", "2014-07-28 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-28 07:00:00.000000"]]
17322
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17323
+  (0.0ms) SAVEPOINT active_record_1
17324
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-21 08:00:00.000000"], ["ends_at", "2014-07-21 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-21 08:00:00.000000"]]
17325
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17326
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) AND (punches.hits > 1) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
17327
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-21 00:00:00.000000' AND punches.ends_at <= '2014-07-21 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
17328
+  (0.3ms) rollback transaction
17329
+  (0.1ms) begin transaction
17330
+  (0.1ms) SAVEPOINT active_record_1
17331
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 06:04:05.401779"], ["title", "Bacon"], ["updated_at", "2014-07-22 06:04:05.401779"]]
17332
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17333
+  (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"]]
17334
+  (0.2ms) rollback transaction
17335
+  (0.1ms) begin transaction
17336
+  (0.1ms) SAVEPOINT active_record_1
17337
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 06:04:05.407520"], ["title", "Bacon"], ["updated_at", "2014-07-22 06:04:05.407520"]]
17338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17339
+  (0.1ms) SAVEPOINT active_record_1
17340
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.409522"], ["ends_at", "2014-07-22 06:04:05.409522"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.409522"]]
17341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17342
+  (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"]]
17343
+  (0.2ms) rollback transaction
17344
+  (0.2ms) begin transaction
17345
+  (0.1ms) SAVEPOINT active_record_1
17346
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 06:04:05.415271"], ["title", "Bacon"], ["updated_at", "2014-07-22 06:04:05.415271"]]
17347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17348
+  (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"]]
17349
+  (0.1ms) SAVEPOINT active_record_1
17350
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.419300"], ["ends_at", "2014-07-22 06:04:05.419300"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.419300"]]
17351
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17352
+  (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"]]
17353
+  (0.2ms) rollback transaction
17354
+  (0.1ms) begin transaction
17355
+  (0.1ms) SAVEPOINT active_record_1
17356
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 06:04:05.423963"], ["title", "Lebowski"], ["updated_at", "2014-07-22 06:04:05.423963"]]
17357
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17358
+  (0.1ms) SAVEPOINT active_record_1
17359
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.426070"], ["ends_at", "2014-07-22 06:04:05.426070"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.426070"]]
17360
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17361
+  (0.1ms) SAVEPOINT active_record_1
17362
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.428432"], ["ends_at", "2014-07-22 06:04:05.428432"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.428432"]]
17363
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17364
+  (0.1ms) SAVEPOINT active_record_1
17365
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 06:04:05.431335"], ["title", "Bacon"], ["updated_at", "2014-07-22 06:04:05.431335"]]
17366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17367
+  (0.1ms) SAVEPOINT active_record_1
17368
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.433733"], ["ends_at", "2014-07-22 06:04:05.433733"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.433733"]]
17369
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17370
+ 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
17371
+  (0.2ms) rollback transaction
17372
+  (0.1ms) begin transaction
17373
+  (0.2ms) SAVEPOINT active_record_1
17374
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 06:04:05.453508"], ["title", "Lebowski"], ["updated_at", "2014-07-22 06:04:05.453508"]]
17375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17376
+  (0.1ms) SAVEPOINT active_record_1
17377
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.455724"], ["ends_at", "2014-07-22 06:04:05.455724"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.455724"]]
17378
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17379
+  (0.1ms) SAVEPOINT active_record_1
17380
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.458561"], ["ends_at", "2014-07-22 06:04:05.458561"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.458561"]]
17381
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17382
+  (0.1ms) SAVEPOINT active_record_1
17383
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 06:04:05.460364"], ["title", "Bacon"], ["updated_at", "2014-07-22 06:04:05.460364"]]
17384
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17385
+  (0.1ms) SAVEPOINT active_record_1
17386
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.463101"], ["ends_at", "2014-07-22 06:04:05.463101"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.463101"]]
17387
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17388
+ 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
17389
+  (0.2ms) rollback transaction
17390
+  (0.1ms) begin transaction
17391
+  (0.1ms) SAVEPOINT active_record_1
17392
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 06:04:05.469582"], ["title", "Lebowski"], ["updated_at", "2014-07-22 06:04:05.469582"]]
17393
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17394
+  (0.1ms) SAVEPOINT active_record_1
17395
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.471892"], ["ends_at", "2014-07-22 06:04:05.471892"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.471892"]]
17396
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17397
+  (0.1ms) SAVEPOINT active_record_1
17398
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.474789"], ["ends_at", "2014-07-22 06:04:05.474789"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.474789"]]
17399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17400
+  (0.1ms) SAVEPOINT active_record_1
17401
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 06:04:05.476583"], ["title", "Bacon"], ["updated_at", "2014-07-22 06:04:05.476583"]]
17402
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17403
+  (0.2ms) SAVEPOINT active_record_1
17404
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.482736"], ["ends_at", "2014-07-22 06:04:05.482736"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.482736"]]
17405
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17406
+  (0.1ms) SAVEPOINT active_record_1
17407
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2014-07-22 06:04:05.486471"], ["title", "Hipsters"], ["updated_at", "2014-07-22 06:04:05.486471"]]
17408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17409
+ 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
17410
+  (0.9ms) rollback transaction
17411
+  (0.1ms) begin transaction
17412
+  (0.1ms) SAVEPOINT active_record_1
17413
+ SQL (3.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 06:04:05.497174"], ["title", "Lebowski"], ["updated_at", "2014-07-22 06:04:05.497174"]]
17414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17415
+  (0.1ms) SAVEPOINT active_record_1
17416
+ SQL (2.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.506093"], ["ends_at", "2014-07-22 06:04:05.506093"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.506093"]]
17417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17418
+  (0.1ms) SAVEPOINT active_record_1
17419
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.511870"], ["ends_at", "2014-07-22 06:04:05.511870"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.511870"]]
17420
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17421
+  (0.1ms) SAVEPOINT active_record_1
17422
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 06:04:05.515058"], ["title", "Bacon"], ["updated_at", "2014-07-22 06:04:05.515058"]]
17423
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17424
+  (0.1ms) SAVEPOINT active_record_1
17425
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.518426"], ["ends_at", "2014-07-22 06:04:05.518426"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.518426"]]
17426
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17427
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1
17428
+  (0.3ms) rollback transaction
17429
+  (0.1ms) begin transaction
17430
+  (0.1ms) SAVEPOINT active_record_1
17431
+ SQL (0.8ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 06:04:05.524245"], ["title", "Lebowski"], ["updated_at", "2014-07-22 06:04:05.524245"]]
17432
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17433
+  (0.1ms) SAVEPOINT active_record_1
17434
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.528313"], ["ends_at", "2014-07-22 06:04:05.528313"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.528313"]]
17435
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17436
+  (0.1ms) SAVEPOINT active_record_1
17437
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.532300"], ["ends_at", "2014-07-22 06:04:05.532300"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.532300"]]
17438
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17439
+  (0.1ms) SAVEPOINT active_record_1
17440
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 06:04:05.535360"], ["title", "Bacon"], ["updated_at", "2014-07-22 06:04:05.535360"]]
17441
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17442
+  (0.1ms) SAVEPOINT active_record_1
17443
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.538110"], ["ends_at", "2014-07-22 06:04:05.538110"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.538110"]]
17444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17445
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1
17446
+  (0.3ms) rollback transaction
17447
+  (0.1ms) begin transaction
17448
+  (0.1ms) SAVEPOINT active_record_1
17449
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 06:04:05.544749"], ["title", "Lebowski"], ["updated_at", "2014-07-22 06:04:05.544749"]]
17450
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17451
+  (0.1ms) SAVEPOINT active_record_1
17452
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.547645"], ["ends_at", "2014-07-22 06:04:05.547645"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.547645"]]
17453
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17454
+  (0.1ms) SAVEPOINT active_record_1
17455
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.551320"], ["ends_at", "2014-07-22 06:04:05.551320"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.551320"]]
17456
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17457
+  (0.1ms) SAVEPOINT active_record_1
17458
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 06:04:05.553519"], ["title", "Bacon"], ["updated_at", "2014-07-22 06:04:05.553519"]]
17459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17460
+  (0.1ms) SAVEPOINT active_record_1
17461
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.557801"], ["ends_at", "2014-07-22 06:04:05.557801"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.557801"]]
17462
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17463
+ 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
17464
+  (0.3ms) rollback transaction
17465
+  (0.1ms) begin transaction
17466
+  (0.1ms) SAVEPOINT active_record_1
17467
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 06:04:05.563262"], ["title", "Lebowski"], ["updated_at", "2014-07-22 06:04:05.563262"]]
17468
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17469
+  (0.1ms) SAVEPOINT active_record_1
17470
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.566653"], ["ends_at", "2014-07-22 06:04:05.566653"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.566653"]]
17471
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17472
+  (0.1ms) SAVEPOINT active_record_1
17473
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.569057"], ["ends_at", "2014-07-22 06:04:05.569057"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.569057"]]
17474
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17475
+  (0.0ms) SAVEPOINT active_record_1
17476
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 06:04:05.570896"], ["title", "Bacon"], ["updated_at", "2014-07-22 06:04:05.570896"]]
17477
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17478
+  (0.1ms) SAVEPOINT active_record_1
17479
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.573014"], ["ends_at", "2014-07-22 06:04:05.573014"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.573014"]]
17480
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17481
+  (0.1ms) SAVEPOINT active_record_1
17482
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2014-07-22 06:04:05.575534"], ["title", "Hipsters"], ["updated_at", "2014-07-22 06:04:05.575534"]]
17483
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17484
+ Article Load (0.4ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC
17485
+  (0.4ms) rollback transaction
17486
+  (0.1ms) begin transaction
17487
+  (0.1ms) SAVEPOINT active_record_1
17488
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 06:04:05.581949"], ["title", "Lebowski"], ["updated_at", "2014-07-22 06:04:05.581949"]]
17489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17490
+  (0.1ms) SAVEPOINT active_record_1
17491
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.585915"], ["ends_at", "2014-07-22 06:04:05.585915"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.585915"]]
17492
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17493
+  (0.1ms) SAVEPOINT active_record_1
17494
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.589442"], ["ends_at", "2014-07-22 06:04:05.589442"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.589442"]]
17495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17496
+  (0.1ms) SAVEPOINT active_record_1
17497
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 06:04:05.592542"], ["title", "Bacon"], ["updated_at", "2014-07-22 06:04:05.592542"]]
17498
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17499
+  (0.1ms) SAVEPOINT active_record_1
17500
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.595485"], ["ends_at", "2014-07-22 06:04:05.595485"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.595485"]]
17501
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17502
+ Article Load (0.4ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC
17503
+  (0.3ms) rollback transaction
17504
+  (0.1ms) begin transaction
17505
+  (0.1ms) SAVEPOINT active_record_1
17506
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 06:04:05.602022"], ["title", "Lebowski"], ["updated_at", "2014-07-22 06:04:05.602022"]]
17507
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17508
+  (0.1ms) SAVEPOINT active_record_1
17509
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.605429"], ["ends_at", "2014-07-22 06:04:05.605429"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.605429"]]
17510
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17511
+  (0.3ms) SAVEPOINT active_record_1
17512
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.609348"], ["ends_at", "2014-07-22 06:04:05.609348"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.609348"]]
17513
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17514
+  (0.1ms) SAVEPOINT active_record_1
17515
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 06:04:05.612639"], ["title", "Bacon"], ["updated_at", "2014-07-22 06:04:05.612639"]]
17516
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17517
+  (0.2ms) SAVEPOINT active_record_1
17518
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.617147"], ["ends_at", "2014-07-22 06:04:05.617147"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.617147"]]
17519
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17520
+ Article Load (0.4ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1
17521
+  (0.3ms) rollback transaction
17522
+  (0.1ms) begin transaction
17523
+  (0.1ms) SAVEPOINT active_record_1
17524
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-22 06:04:05.623968"], ["title", "Lebowski"], ["updated_at", "2014-07-22 06:04:05.623968"]]
17525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17526
+  (0.1ms) SAVEPOINT active_record_1
17527
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.626299"], ["ends_at", "2014-07-22 06:04:05.626299"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.626299"]]
17528
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17529
+  (0.1ms) SAVEPOINT active_record_1
17530
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.629275"], ["ends_at", "2014-07-22 06:04:05.629275"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.629275"]]
17531
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17532
+  (0.1ms) SAVEPOINT active_record_1
17533
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-22 06:04:05.631982"], ["title", "Bacon"], ["updated_at", "2014-07-22 06:04:05.631982"]]
17534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17535
+  (0.1ms) SAVEPOINT active_record_1
17536
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-22 06:04:05.634744"], ["ends_at", "2014-07-22 06:04:05.634744"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-22 06:04:05.634744"]]
17537
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17538
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1
17539
+  (0.2ms) rollback transaction
17540
+  (0.4ms) begin transaction
17541
+  (0.1ms) SAVEPOINT active_record_1
17542
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-24 23:38:52.516599"], ["title", "Hector"], ["updated_at", "2014-07-24 23:38:52.516599"]]
17543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17544
+  (0.2ms) rollback transaction
17545
+  (0.1ms) begin transaction
17546
+  (0.1ms) SELECT COUNT(*) FROM "punches"
17547
+  (0.1ms) SAVEPOINT active_record_1
17548
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-24 23:38:52.525365"], ["title", "Hector"], ["updated_at", "2014-07-24 23:38:52.525365"]]
17549
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17550
+  (0.1ms) SAVEPOINT active_record_1
17551
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.536572"], ["ends_at", "2014-07-24 23:38:52.536572"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.536572"]]
17552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17553
+  (0.1ms) SELECT COUNT(*) FROM "punches"
17554
+  (0.2ms) rollback transaction
17555
+  (0.1ms) begin transaction
17556
+  (0.1ms) SELECT COUNT(*) FROM "punches"
17557
+  (0.0ms) SAVEPOINT active_record_1
17558
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-24 23:38:52.542900"], ["title", "Hector"], ["updated_at", "2014-07-24 23:38:52.542900"]]
17559
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17560
+  (0.0ms) SAVEPOINT active_record_1
17561
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.544723"], ["ends_at", "2014-07-24 23:38:52.544723"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.544723"]]
17562
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17563
+  (0.1ms) SELECT COUNT(*) FROM "punches"
17564
+  (0.2ms) rollback transaction
17565
+  (0.1ms) begin transaction
17566
+  (0.1ms) rollback transaction
17567
+  (0.1ms) begin transaction
17568
+  (0.0ms) SAVEPOINT active_record_1
17569
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.551757"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.551757"]]
17570
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17571
+  (0.2ms) rollback transaction
17572
+  (0.0ms) begin transaction
17573
+  (0.0ms) SAVEPOINT active_record_1
17574
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.555440"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.555440"]]
17575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17576
+  (0.2ms) rollback transaction
17577
+  (0.1ms) begin transaction
17578
+  (0.0ms) SAVEPOINT active_record_1
17579
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.558890"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.558890"]]
17580
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17581
+  (0.2ms) rollback transaction
17582
+  (0.1ms) begin transaction
17583
+  (0.0ms) SAVEPOINT active_record_1
17584
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.562357"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.562357"]]
17585
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17586
+  (0.2ms) rollback transaction
17587
+  (0.1ms) begin transaction
17588
+  (0.1ms) SAVEPOINT active_record_1
17589
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.566576"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.566576"]]
17590
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17591
+  (0.2ms) rollback transaction
17592
+  (0.1ms) begin transaction
17593
+  (0.1ms) SAVEPOINT active_record_1
17594
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.571367"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.571367"]]
17595
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17596
+  (0.2ms) rollback transaction
17597
+  (0.1ms) begin transaction
17598
+  (0.0ms) SAVEPOINT active_record_1
17599
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.575193"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.575193"]]
17600
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17601
+  (0.2ms) rollback transaction
17602
+  (0.1ms) begin transaction
17603
+  (0.0ms) SAVEPOINT active_record_1
17604
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.578766"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.578766"]]
17605
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17606
+  (0.2ms) rollback transaction
17607
+  (0.1ms) begin transaction
17608
+  (0.1ms) SAVEPOINT active_record_1
17609
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.582242"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.582242"]]
17610
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17611
+  (0.2ms) rollback transaction
17612
+  (0.1ms) begin transaction
17613
+  (0.0ms) SAVEPOINT active_record_1
17614
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.585599"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.585599"]]
17615
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17616
+  (0.2ms) rollback transaction
17617
+  (0.1ms) begin transaction
17618
+  (0.1ms) SAVEPOINT active_record_1
17619
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.589333"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.589333"]]
17620
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17621
+  (0.2ms) rollback transaction
17622
+  (0.1ms) begin transaction
17623
+  (0.1ms) SAVEPOINT active_record_1
17624
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.593927"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.593927"]]
17625
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17626
+  (0.2ms) rollback transaction
17627
+  (0.2ms) begin transaction
17628
+  (0.1ms) SAVEPOINT active_record_1
17629
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.600315"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.600315"]]
17630
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17631
+  (0.4ms) rollback transaction
17632
+  (0.1ms) begin transaction
17633
+  (0.0ms) SAVEPOINT active_record_1
17634
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.605933"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.605933"]]
17635
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17636
+  (0.2ms) rollback transaction
17637
+  (0.1ms) begin transaction
17638
+  (0.1ms) SAVEPOINT active_record_1
17639
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.609726"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.609726"]]
17640
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17641
+  (0.2ms) rollback transaction
17642
+  (0.0ms) begin transaction
17643
+  (0.1ms) SAVEPOINT active_record_1
17644
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.613316"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.613316"]]
17645
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17646
+  (0.2ms) rollback transaction
17647
+  (0.1ms) begin transaction
17648
+  (0.1ms) SAVEPOINT active_record_1
17649
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.616955"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.616955"]]
17650
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17651
+  (0.2ms) rollback transaction
17652
+  (0.1ms) begin transaction
17653
+  (0.0ms) SAVEPOINT active_record_1
17654
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.622010"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.622010"]]
17655
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17656
+  (0.2ms) rollback transaction
17657
+  (0.1ms) begin transaction
17658
+  (0.0ms) SAVEPOINT active_record_1
17659
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.626225"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.626225"]]
17660
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17661
+  (0.2ms) rollback transaction
17662
+  (0.1ms) begin transaction
17663
+  (0.1ms) SAVEPOINT active_record_1
17664
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.631859"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.631859"]]
17665
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17666
+  (0.2ms) rollback transaction
17667
+  (0.1ms) begin transaction
17668
+  (0.1ms) SAVEPOINT active_record_1
17669
+ SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.636283"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.636283"]]
17670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17671
+  (0.2ms) rollback transaction
17672
+  (0.1ms) begin transaction
17673
+  (0.0ms) SAVEPOINT active_record_1
17674
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.641792"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.641792"]]
17675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17676
+  (0.2ms) rollback transaction
17677
+  (0.1ms) begin transaction
17678
+  (0.1ms) SAVEPOINT active_record_1
17679
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.645703"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.645703"]]
17680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17681
+  (0.1ms) SAVEPOINT active_record_1
17682
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.647539"], ["ends_at", "2014-07-24 23:38:52.647539"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.647539"]]
17683
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17684
+  (0.1ms) SELECT COUNT(*) FROM "punches"
17685
+  (0.1ms) SELECT COUNT(*) FROM "punches"
17686
+  (0.2ms) rollback transaction
17687
+  (0.1ms) begin transaction
17688
+  (0.0ms) SAVEPOINT active_record_1
17689
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.652703"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.652703"]]
17690
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17691
+  (0.1ms) SAVEPOINT active_record_1
17692
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 09:00:00.000000"], ["ends_at", "2014-07-24 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 09:00:00.000000"]]
17693
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17694
+  (0.1ms) SAVEPOINT active_record_1
17695
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-31 07:00:00.000000"], ["ends_at", "2014-07-31 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-31 07:00:00.000000"]]
17696
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17697
+  (0.1ms) SAVEPOINT active_record_1
17698
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 08:00:00.000000"], ["ends_at", "2014-07-24 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 08:00:00.000000"]]
17699
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17700
+  (0.1ms) SAVEPOINT active_record_1
17701
+ SQL (0.4ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-24 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-24 08:00:00.000000"]]
17702
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17703
+  (0.0ms) SAVEPOINT active_record_1
17704
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
17705
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17706
+  (0.2ms) rollback transaction
17707
+  (0.1ms) begin transaction
17708
+  (0.0ms) SAVEPOINT active_record_1
17709
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.669484"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.669484"]]
17710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17711
+  (0.0ms) SAVEPOINT active_record_1
17712
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 09:00:00.000000"], ["ends_at", "2014-07-24 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 09:00:00.000000"]]
17713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17714
+  (0.0ms) SAVEPOINT active_record_1
17715
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-31 07:00:00.000000"], ["ends_at", "2014-07-31 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-31 07:00:00.000000"]]
17716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17717
+  (0.0ms) SAVEPOINT active_record_1
17718
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 08:00:00.000000"], ["ends_at", "2014-07-24 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 08:00:00.000000"]]
17719
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17720
+  (0.0ms) SAVEPOINT active_record_1
17721
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-24 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-24 08:00:00.000000"]]
17722
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17723
+  (0.0ms) SAVEPOINT active_record_1
17724
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
17725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17726
+  (0.2ms) rollback transaction
17727
+  (0.1ms) begin transaction
17728
+  (0.1ms) SAVEPOINT active_record_1
17729
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.679301"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.679301"]]
17730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17731
+  (0.0ms) SAVEPOINT active_record_1
17732
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 09:00:00.000000"], ["ends_at", "2014-07-24 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 09:00:00.000000"]]
17733
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17734
+  (0.1ms) SAVEPOINT active_record_1
17735
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-31 07:00:00.000000"], ["ends_at", "2014-07-31 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-31 07:00:00.000000"]]
17736
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17737
+  (0.1ms) SAVEPOINT active_record_1
17738
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 08:00:00.000000"], ["ends_at", "2014-07-24 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 08:00:00.000000"]]
17739
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17740
+  (0.1ms) SAVEPOINT active_record_1
17741
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-24 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-24 08:00:00.000000"]]
17742
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17743
+  (0.1ms) SAVEPOINT active_record_1
17744
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
17745
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17746
+  (0.3ms) rollback transaction
17747
+  (0.1ms) begin transaction
17748
+  (0.1ms) SAVEPOINT active_record_1
17749
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.690908"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.690908"]]
17750
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17751
+  (0.2ms) SAVEPOINT active_record_1
17752
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 09:00:00.000000"], ["ends_at", "2014-07-24 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 09:00:00.000000"]]
17753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17754
+  (0.1ms) SAVEPOINT active_record_1
17755
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-31 07:00:00.000000"], ["ends_at", "2014-07-31 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-31 07:00:00.000000"]]
17756
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17757
+  (0.0ms) SAVEPOINT active_record_1
17758
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 08:00:00.000000"], ["ends_at", "2014-07-24 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 08:00:00.000000"]]
17759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17760
+  (0.1ms) SAVEPOINT active_record_1
17761
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-24 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-24 08:00:00.000000"]]
17762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17763
+  (0.0ms) SAVEPOINT active_record_1
17764
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
17765
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17766
+  (0.2ms) rollback transaction
17767
+  (0.1ms) begin transaction
17768
+  (0.1ms) SAVEPOINT active_record_1
17769
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.706281"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.706281"]]
17770
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17771
+  (0.1ms) SAVEPOINT active_record_1
17772
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 09:00:00.000000"], ["ends_at", "2014-07-24 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 09:00:00.000000"]]
17773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17774
+  (0.0ms) SAVEPOINT active_record_1
17775
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-31 07:00:00.000000"], ["ends_at", "2014-07-31 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-31 07:00:00.000000"]]
17776
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17777
+  (0.0ms) SAVEPOINT active_record_1
17778
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 08:00:00.000000"], ["ends_at", "2014-07-24 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 08:00:00.000000"]]
17779
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17780
+ Punch Load (0.3ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-24 00:00:00.000000' AND punches.ends_at <= '2014-07-24 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"]]
17781
+ Punch Load (0.5ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-24 00:00:00.000000' AND punches.ends_at <= '2014-07-24 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
17782
+  (0.5ms) rollback transaction
17783
+  (0.2ms) begin transaction
17784
+  (0.1ms) SAVEPOINT active_record_1
17785
+ SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-24 23:38:52.734795"], ["title", "Bluths"], ["updated_at", "2014-07-24 23:38:52.734795"]]
17786
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17787
+  (0.1ms) SAVEPOINT active_record_1
17788
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 09:00:00.000000"], ["ends_at", "2014-07-24 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 09:00:00.000000"]]
17789
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17790
+  (0.1ms) SAVEPOINT active_record_1
17791
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-31 07:00:00.000000"], ["ends_at", "2014-07-31 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-31 07:00:00.000000"]]
17792
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17793
+  (0.1ms) SAVEPOINT active_record_1
17794
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 08:00:00.000000"], ["ends_at", "2014-07-24 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 08:00:00.000000"]]
17795
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17796
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-24 00:00:00.000000' AND punches.ends_at <= '2014-07-24 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"]]
17797
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-24 00:00:00.000000' AND punches.ends_at <= '2014-07-24 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
17798
+  (0.2ms) rollback transaction
17799
+  (0.1ms) begin transaction
17800
+  (0.3ms) SAVEPOINT active_record_1
17801
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-24 23:38:52.751005"], ["title", "Bacon"], ["updated_at", "2014-07-24 23:38:52.751005"]]
17802
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17803
+  (0.3ms) SELECT SUM("punches"."hits") AS sum_id FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? [["punchable_id", 1], ["punchable_type", "Article"]]
17804
+  (0.2ms) rollback transaction
17805
+  (0.1ms) begin transaction
17806
+  (0.1ms) SAVEPOINT active_record_1
17807
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-24 23:38:52.759029"], ["title", "Bacon"], ["updated_at", "2014-07-24 23:38:52.759029"]]
17808
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17809
+  (0.1ms) SAVEPOINT active_record_1
17810
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.761004"], ["ends_at", "2014-07-24 23:38:52.761004"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.761004"]]
17811
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17812
+  (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"]]
17813
+  (0.2ms) rollback transaction
17814
+  (0.1ms) begin transaction
17815
+  (0.0ms) SAVEPOINT active_record_1
17816
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-24 23:38:52.765770"], ["title", "Bacon"], ["updated_at", "2014-07-24 23:38:52.765770"]]
17817
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17818
+  (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"]]
17819
+  (0.1ms) SAVEPOINT active_record_1
17820
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.768949"], ["ends_at", "2014-07-24 23:38:52.768949"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.768949"]]
17821
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17822
+  (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"]]
17823
+  (0.2ms) rollback transaction
17824
+  (0.1ms) begin transaction
17825
+  (0.1ms) SAVEPOINT active_record_1
17826
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-24 23:38:52.773218"], ["title", "Lebowski"], ["updated_at", "2014-07-24 23:38:52.773218"]]
17827
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17828
+  (0.0ms) SAVEPOINT active_record_1
17829
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.775077"], ["ends_at", "2014-07-24 23:38:52.775077"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.775077"]]
17830
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17831
+  (0.1ms) SAVEPOINT active_record_1
17832
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.777075"], ["ends_at", "2014-07-24 23:38:52.777075"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.777075"]]
17833
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17834
+  (0.0ms) SAVEPOINT active_record_1
17835
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-24 23:38:52.778670"], ["title", "Bacon"], ["updated_at", "2014-07-24 23:38:52.778670"]]
17836
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17837
+  (0.1ms) SAVEPOINT active_record_1
17838
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.780425"], ["ends_at", "2014-07-24 23:38:52.780425"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.780425"]]
17839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17840
+ 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
17841
+  (0.3ms) rollback transaction
17842
+  (0.1ms) begin transaction
17843
+  (0.0ms) SAVEPOINT active_record_1
17844
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-24 23:38:52.797687"], ["title", "Lebowski"], ["updated_at", "2014-07-24 23:38:52.797687"]]
17845
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17846
+  (0.1ms) SAVEPOINT active_record_1
17847
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.799636"], ["ends_at", "2014-07-24 23:38:52.799636"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.799636"]]
17848
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17849
+  (0.1ms) SAVEPOINT active_record_1
17850
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.801798"], ["ends_at", "2014-07-24 23:38:52.801798"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.801798"]]
17851
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17852
+  (0.0ms) SAVEPOINT active_record_1
17853
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-24 23:38:52.804305"], ["title", "Bacon"], ["updated_at", "2014-07-24 23:38:52.804305"]]
17854
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17855
+  (0.0ms) SAVEPOINT active_record_1
17856
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.805932"], ["ends_at", "2014-07-24 23:38:52.805932"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.805932"]]
17857
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17858
+ 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 5
17859
+  (0.2ms) rollback transaction
17860
+  (0.1ms) begin transaction
17861
+  (0.0ms) SAVEPOINT active_record_1
17862
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-24 23:38:52.809981"], ["title", "Lebowski"], ["updated_at", "2014-07-24 23:38:52.809981"]]
17863
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17864
+  (0.1ms) SAVEPOINT active_record_1
17865
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.813278"], ["ends_at", "2014-07-24 23:38:52.813278"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.813278"]]
17866
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17867
+  (0.1ms) SAVEPOINT active_record_1
17868
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.815791"], ["ends_at", "2014-07-24 23:38:52.815791"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.815791"]]
17869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17870
+  (0.1ms) SAVEPOINT active_record_1
17871
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-24 23:38:52.817548"], ["title", "Bacon"], ["updated_at", "2014-07-24 23:38:52.817548"]]
17872
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17873
+  (0.1ms) SAVEPOINT active_record_1
17874
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.819898"], ["ends_at", "2014-07-24 23:38:52.819898"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.819898"]]
17875
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17876
+  (0.1ms) SAVEPOINT active_record_1
17877
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2014-07-24 23:38:52.822707"], ["title", "Hipsters"], ["updated_at", "2014-07-24 23:38:52.822707"]]
17878
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17879
+ 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
17880
+  (0.2ms) rollback transaction
17881
+  (0.1ms) begin transaction
17882
+  (0.0ms) SAVEPOINT active_record_1
17883
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-24 23:38:52.826821"], ["title", "Lebowski"], ["updated_at", "2014-07-24 23:38:52.826821"]]
17884
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17885
+  (0.0ms) SAVEPOINT active_record_1
17886
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.828645"], ["ends_at", "2014-07-24 23:38:52.828645"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.828645"]]
17887
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17888
+  (0.0ms) SAVEPOINT active_record_1
17889
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.830654"], ["ends_at", "2014-07-24 23:38:52.830654"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.830654"]]
17890
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17891
+  (0.0ms) SAVEPOINT active_record_1
17892
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-24 23:38:52.832293"], ["title", "Bacon"], ["updated_at", "2014-07-24 23:38:52.832293"]]
17893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17894
+  (0.1ms) SAVEPOINT active_record_1
17895
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.834089"], ["ends_at", "2014-07-24 23:38:52.834089"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.834089"]]
17896
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17897
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1
17898
+  (0.2ms) rollback transaction
17899
+  (0.1ms) begin transaction
17900
+  (0.1ms) SAVEPOINT active_record_1
17901
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-24 23:38:52.838385"], ["title", "Lebowski"], ["updated_at", "2014-07-24 23:38:52.838385"]]
17902
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17903
+  (0.1ms) SAVEPOINT active_record_1
17904
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.840201"], ["ends_at", "2014-07-24 23:38:52.840201"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.840201"]]
17905
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17906
+  (0.2ms) SAVEPOINT active_record_1
17907
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.843056"], ["ends_at", "2014-07-24 23:38:52.843056"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.843056"]]
17908
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17909
+  (0.1ms) SAVEPOINT active_record_1
17910
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-24 23:38:52.845435"], ["title", "Bacon"], ["updated_at", "2014-07-24 23:38:52.845435"]]
17911
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17912
+  (0.1ms) SAVEPOINT active_record_1
17913
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.848321"], ["ends_at", "2014-07-24 23:38:52.848321"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.848321"]]
17914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17915
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1
17916
+  (0.2ms) rollback transaction
17917
+  (0.1ms) begin transaction
17918
+  (0.0ms) SAVEPOINT active_record_1
17919
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-24 23:38:52.853841"], ["title", "Lebowski"], ["updated_at", "2014-07-24 23:38:52.853841"]]
17920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17921
+  (0.0ms) SAVEPOINT active_record_1
17922
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.855560"], ["ends_at", "2014-07-24 23:38:52.855560"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.855560"]]
17923
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17924
+  (0.0ms) SAVEPOINT active_record_1
17925
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.857465"], ["ends_at", "2014-07-24 23:38:52.857465"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.857465"]]
17926
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17927
+  (0.1ms) SAVEPOINT active_record_1
17928
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-24 23:38:52.859017"], ["title", "Bacon"], ["updated_at", "2014-07-24 23:38:52.859017"]]
17929
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17930
+  (0.0ms) SAVEPOINT active_record_1
17931
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.860533"], ["ends_at", "2014-07-24 23:38:52.860533"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.860533"]]
17932
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17933
+ 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
17934
+  (0.2ms) rollback transaction
17935
+  (0.1ms) begin transaction
17936
+  (0.0ms) SAVEPOINT active_record_1
17937
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-24 23:38:52.864406"], ["title", "Lebowski"], ["updated_at", "2014-07-24 23:38:52.864406"]]
17938
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17939
+  (0.0ms) SAVEPOINT active_record_1
17940
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.866196"], ["ends_at", "2014-07-24 23:38:52.866196"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.866196"]]
17941
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17942
+  (0.1ms) SAVEPOINT active_record_1
17943
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.868056"], ["ends_at", "2014-07-24 23:38:52.868056"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.868056"]]
17944
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17945
+  (0.0ms) SAVEPOINT active_record_1
17946
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-24 23:38:52.869605"], ["title", "Bacon"], ["updated_at", "2014-07-24 23:38:52.869605"]]
17947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17948
+  (0.0ms) SAVEPOINT active_record_1
17949
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.871171"], ["ends_at", "2014-07-24 23:38:52.871171"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.871171"]]
17950
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17951
+  (0.1ms) SAVEPOINT active_record_1
17952
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2014-07-24 23:38:52.873369"], ["title", "Hipsters"], ["updated_at", "2014-07-24 23:38:52.873369"]]
17953
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17954
+ 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
17955
+  (0.5ms) rollback transaction
17956
+  (0.1ms) begin transaction
17957
+  (0.1ms) SAVEPOINT active_record_1
17958
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-24 23:38:52.880200"], ["title", "Lebowski"], ["updated_at", "2014-07-24 23:38:52.880200"]]
17959
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17960
+  (0.1ms) SAVEPOINT active_record_1
17961
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.882246"], ["ends_at", "2014-07-24 23:38:52.882246"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.882246"]]
17962
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17963
+  (0.1ms) SAVEPOINT active_record_1
17964
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.884465"], ["ends_at", "2014-07-24 23:38:52.884465"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.884465"]]
17965
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17966
+  (0.1ms) SAVEPOINT active_record_1
17967
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-24 23:38:52.886766"], ["title", "Bacon"], ["updated_at", "2014-07-24 23:38:52.886766"]]
17968
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17969
+  (0.1ms) SAVEPOINT active_record_1
17970
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.888863"], ["ends_at", "2014-07-24 23:38:52.888863"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.888863"]]
17971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17972
+ 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
17973
+  (0.2ms) rollback transaction
17974
+  (0.1ms) begin transaction
17975
+  (0.1ms) SAVEPOINT active_record_1
17976
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-24 23:38:52.893663"], ["title", "Lebowski"], ["updated_at", "2014-07-24 23:38:52.893663"]]
17977
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17978
+  (0.1ms) SAVEPOINT active_record_1
17979
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.895999"], ["ends_at", "2014-07-24 23:38:52.895999"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.895999"]]
17980
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17981
+  (0.1ms) SAVEPOINT active_record_1
17982
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.898548"], ["ends_at", "2014-07-24 23:38:52.898548"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.898548"]]
17983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17984
+  (0.1ms) SAVEPOINT active_record_1
17985
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-24 23:38:52.900568"], ["title", "Bacon"], ["updated_at", "2014-07-24 23:38:52.900568"]]
17986
+  (0.2ms) RELEASE SAVEPOINT active_record_1
17987
+  (0.1ms) SAVEPOINT active_record_1
17988
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.903151"], ["ends_at", "2014-07-24 23:38:52.903151"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.903151"]]
17989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17990
+ 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
17991
+  (0.2ms) rollback transaction
17992
+  (0.1ms) begin transaction
17993
+  (0.0ms) SAVEPOINT active_record_1
17994
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-24 23:38:52.909017"], ["title", "Lebowski"], ["updated_at", "2014-07-24 23:38:52.909017"]]
17995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17996
+  (0.1ms) SAVEPOINT active_record_1
17997
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.910910"], ["ends_at", "2014-07-24 23:38:52.910910"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.910910"]]
17998
+  (0.1ms) RELEASE SAVEPOINT active_record_1
17999
+  (0.1ms) SAVEPOINT active_record_1
18000
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.912836"], ["ends_at", "2014-07-24 23:38:52.912836"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.912836"]]
18001
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18002
+  (0.0ms) SAVEPOINT active_record_1
18003
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-24 23:38:52.914417"], ["title", "Bacon"], ["updated_at", "2014-07-24 23:38:52.914417"]]
18004
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18005
+  (0.0ms) SAVEPOINT active_record_1
18006
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-24 23:38:52.915875"], ["ends_at", "2014-07-24 23:38:52.915875"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-24 23:38:52.915875"]]
18007
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18008
+ Article Load (0.4ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1
18009
+  (0.5ms) rollback transaction
18010
+  (0.4ms) begin transaction
18011
+  (0.1ms) SAVEPOINT active_record_1
18012
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.130893"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.130893"]]
18013
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18014
+  (0.2ms) rollback transaction
18015
+  (0.1ms) begin transaction
18016
+  (0.1ms) SAVEPOINT active_record_1
18017
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.147538"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.147538"]]
18018
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18019
+  (0.2ms) rollback transaction
18020
+  (0.1ms) begin transaction
18021
+  (0.0ms) SAVEPOINT active_record_1
18022
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.152703"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.152703"]]
18023
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18024
+  (0.2ms) rollback transaction
18025
+  (0.1ms) begin transaction
18026
+  (0.0ms) SAVEPOINT active_record_1
18027
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.156290"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.156290"]]
18028
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18029
+  (0.2ms) rollback transaction
18030
+  (0.1ms) begin transaction
18031
+  (0.0ms) SAVEPOINT active_record_1
18032
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.159582"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.159582"]]
18033
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18034
+  (0.2ms) rollback transaction
18035
+  (0.1ms) begin transaction
18036
+  (0.1ms) SAVEPOINT active_record_1
18037
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.163162"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.163162"]]
18038
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18039
+  (0.1ms) rollback transaction
18040
+  (0.1ms) begin transaction
18041
+  (0.0ms) SAVEPOINT active_record_1
18042
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.166553"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.166553"]]
18043
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18044
+  (0.2ms) rollback transaction
18045
+  (0.1ms) begin transaction
18046
+  (0.1ms) SAVEPOINT active_record_1
18047
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.170555"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.170555"]]
18048
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18049
+  (0.3ms) rollback transaction
18050
+  (0.1ms) begin transaction
18051
+  (0.1ms) SAVEPOINT active_record_1
18052
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.175669"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.175669"]]
18053
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18054
+  (0.2ms) rollback transaction
18055
+  (0.1ms) begin transaction
18056
+  (0.0ms) SAVEPOINT active_record_1
18057
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.179784"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.179784"]]
18058
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18059
+  (0.2ms) rollback transaction
18060
+  (0.0ms) begin transaction
18061
+  (0.0ms) SAVEPOINT active_record_1
18062
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.183628"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.183628"]]
18063
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18064
+  (0.2ms) rollback transaction
18065
+  (0.0ms) begin transaction
18066
+  (0.0ms) SAVEPOINT active_record_1
18067
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.187124"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.187124"]]
18068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18069
+  (0.2ms) rollback transaction
18070
+  (0.1ms) begin transaction
18071
+  (0.1ms) SAVEPOINT active_record_1
18072
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.191426"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.191426"]]
18073
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18074
+  (0.2ms) rollback transaction
18075
+  (0.1ms) begin transaction
18076
+  (0.0ms) SAVEPOINT active_record_1
18077
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.195507"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.195507"]]
18078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18079
+  (0.2ms) rollback transaction
18080
+  (0.1ms) begin transaction
18081
+  (0.0ms) SAVEPOINT active_record_1
18082
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.199466"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.199466"]]
18083
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18084
+  (0.2ms) rollback transaction
18085
+  (0.0ms) begin transaction
18086
+  (0.0ms) SAVEPOINT active_record_1
18087
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.203152"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.203152"]]
18088
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18089
+  (0.3ms) rollback transaction
18090
+  (0.1ms) begin transaction
18091
+  (0.2ms) SAVEPOINT active_record_1
18092
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.209589"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.209589"]]
18093
+  (0.2ms) RELEASE SAVEPOINT active_record_1
18094
+  (0.2ms) rollback transaction
18095
+  (0.1ms) begin transaction
18096
+  (0.1ms) SAVEPOINT active_record_1
18097
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.215334"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.215334"]]
18098
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18099
+  (0.2ms) rollback transaction
18100
+  (0.1ms) begin transaction
18101
+  (0.1ms) SAVEPOINT active_record_1
18102
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.219798"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.219798"]]
18103
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18104
+  (0.2ms) rollback transaction
18105
+  (0.1ms) begin transaction
18106
+  (0.1ms) SAVEPOINT active_record_1
18107
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.223685"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.223685"]]
18108
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18109
+  (0.2ms) rollback transaction
18110
+  (0.0ms) begin transaction
18111
+  (0.1ms) SAVEPOINT active_record_1
18112
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.227396"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.227396"]]
18113
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18114
+  (0.2ms) rollback transaction
18115
+  (0.1ms) begin transaction
18116
+  (0.1ms) SAVEPOINT active_record_1
18117
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.231075"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.231075"]]
18118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18119
+  (0.2ms) rollback transaction
18120
+  (0.1ms) begin transaction
18121
+  (0.1ms) SAVEPOINT active_record_1
18122
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.235225"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.235225"]]
18123
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18124
+  (0.1ms) SAVEPOINT active_record_1
18125
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:26:00.238150"], ["ends_at", "2014-07-25 15:26:00.238150"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:26:00.238150"]]
18126
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18127
+  (0.1ms) SELECT COUNT(*) FROM "punches"
18128
+  (0.1ms) SELECT COUNT(*) FROM "punches"
18129
+  (0.2ms) rollback transaction
18130
+  (0.1ms) begin transaction
18131
+  (0.0ms) SAVEPOINT active_record_1
18132
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.248165"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.248165"]]
18133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18134
+  (0.1ms) SAVEPOINT active_record_1
18135
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18136
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18137
+  (0.1ms) SAVEPOINT active_record_1
18138
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18139
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18140
+  (0.0ms) SAVEPOINT active_record_1
18141
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18142
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18143
+  (0.0ms) SAVEPOINT active_record_1
18144
+ SQL (0.2ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
18145
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18146
+  (0.0ms) SAVEPOINT active_record_1
18147
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
18148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18149
+  (0.2ms) rollback transaction
18150
+  (0.1ms) begin transaction
18151
+  (0.1ms) SAVEPOINT active_record_1
18152
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.260031"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.260031"]]
18153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18154
+  (0.1ms) SAVEPOINT active_record_1
18155
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18157
+  (0.1ms) SAVEPOINT active_record_1
18158
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18159
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18160
+  (0.1ms) SAVEPOINT active_record_1
18161
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18162
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18163
+  (0.1ms) SAVEPOINT active_record_1
18164
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
18165
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18166
+  (0.1ms) SAVEPOINT active_record_1
18167
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
18168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18169
+  (0.2ms) rollback transaction
18170
+  (0.1ms) begin transaction
18171
+  (0.1ms) SAVEPOINT active_record_1
18172
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.274101"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.274101"]]
18173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18174
+  (0.1ms) SAVEPOINT active_record_1
18175
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18177
+  (0.1ms) SAVEPOINT active_record_1
18178
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18179
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18180
+  (0.1ms) SAVEPOINT active_record_1
18181
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18183
+  (0.0ms) SAVEPOINT active_record_1
18184
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
18185
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18186
+  (0.0ms) SAVEPOINT active_record_1
18187
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
18188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18189
+  (0.2ms) rollback transaction
18190
+  (0.1ms) begin transaction
18191
+  (0.1ms) SAVEPOINT active_record_1
18192
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.285226"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.285226"]]
18193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18194
+  (0.1ms) SAVEPOINT active_record_1
18195
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18196
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18197
+  (0.1ms) SAVEPOINT active_record_1
18198
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18199
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18200
+  (0.0ms) SAVEPOINT active_record_1
18201
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18203
+  (0.1ms) SAVEPOINT active_record_1
18204
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
18205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18206
+  (0.1ms) SAVEPOINT active_record_1
18207
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
18208
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18209
+  (0.3ms) rollback transaction
18210
+  (0.1ms) begin transaction
18211
+  (0.1ms) SAVEPOINT active_record_1
18212
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.298511"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.298511"]]
18213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18214
+  (0.1ms) SAVEPOINT active_record_1
18215
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18216
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18217
+  (0.1ms) SAVEPOINT active_record_1
18218
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18219
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18220
+  (0.0ms) SAVEPOINT active_record_1
18221
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18222
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18223
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 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"]]
18224
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
18225
+  (0.2ms) rollback transaction
18226
+  (0.0ms) begin transaction
18227
+  (0.0ms) SAVEPOINT active_record_1
18228
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:00.323584"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:00.323584"]]
18229
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18230
+  (0.1ms) SAVEPOINT active_record_1
18231
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18232
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18233
+  (0.1ms) SAVEPOINT active_record_1
18234
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18236
+  (0.0ms) SAVEPOINT active_record_1
18237
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18238
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18239
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 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"]]
18240
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
18241
+  (0.3ms) rollback transaction
18242
+  (0.3ms) begin transaction
18243
+  (0.1ms) SAVEPOINT active_record_1
18244
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:26:10.688135"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:26:10.688135"]]
18245
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18246
+  (0.1ms) SAVEPOINT active_record_1
18247
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18249
+  (0.1ms) SAVEPOINT active_record_1
18250
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18252
+  (0.1ms) SAVEPOINT active_record_1
18253
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18254
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18255
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 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"]]
18256
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
18257
+  (0.2ms) rollback transaction
18258
+  (0.3ms) begin transaction
18259
+  (0.1ms) SAVEPOINT active_record_1
18260
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:28:12.760822"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:28:12.760822"]]
18261
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18262
+  (0.1ms) SAVEPOINT active_record_1
18263
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18264
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18265
+  (0.1ms) SAVEPOINT active_record_1
18266
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18268
+  (0.1ms) SAVEPOINT active_record_1
18269
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18270
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18271
+ Punch Load (0.3ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 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"]]
18272
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
18273
+  (0.2ms) rollback transaction
18274
+  (0.4ms) begin transaction
18275
+  (0.1ms) SAVEPOINT active_record_1
18276
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:28:24.578896"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:28:24.578896"]]
18277
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18278
+  (0.1ms) SAVEPOINT active_record_1
18279
+ SQL (0.5ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18281
+  (0.1ms) SAVEPOINT active_record_1
18282
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18284
+  (0.1ms) SAVEPOINT active_record_1
18285
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18287
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 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"]]
18288
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
18289
+  (0.2ms) rollback transaction
18290
+  (0.3ms) begin transaction
18291
+  (0.1ms) SAVEPOINT active_record_1
18292
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:04.283712"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:04.283712"]]
18293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18294
+  (0.1ms) SAVEPOINT active_record_1
18295
+ SQL (0.5ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18296
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18297
+  (0.1ms) SAVEPOINT active_record_1
18298
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18299
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18300
+  (0.1ms) SAVEPOINT active_record_1
18301
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18302
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18303
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 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"]]
18304
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
18305
+  (0.2ms) rollback transaction
18306
+  (0.3ms) begin transaction
18307
+  (0.1ms) SAVEPOINT active_record_1
18308
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-25 15:29:37.729058"], ["title", "Hector"], ["updated_at", "2014-07-25 15:29:37.729058"]]
18309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18310
+  (0.2ms) rollback transaction
18311
+  (0.1ms) begin transaction
18312
+  (0.1ms) SELECT COUNT(*) FROM "punches"
18313
+  (0.1ms) SAVEPOINT active_record_1
18314
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-25 15:29:37.738204"], ["title", "Hector"], ["updated_at", "2014-07-25 15:29:37.738204"]]
18315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18316
+  (0.1ms) SAVEPOINT active_record_1
18317
+ SQL (0.6ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:37.747894"], ["ends_at", "2014-07-25 15:29:37.747894"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:37.747894"]]
18318
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18319
+  (0.2ms) SELECT COUNT(*) FROM "punches"
18320
+  (0.3ms) rollback transaction
18321
+  (0.1ms) begin transaction
18322
+  (0.1ms) SELECT COUNT(*) FROM "punches"
18323
+  (0.1ms) SAVEPOINT active_record_1
18324
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Ding, ding ding... ding. Ding. DING. DING! "], ["created_at", "2014-07-25 15:29:37.755590"], ["title", "Hector"], ["updated_at", "2014-07-25 15:29:37.755590"]]
18325
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18326
+  (0.1ms) SAVEPOINT active_record_1
18327
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:37.757810"], ["ends_at", "2014-07-25 15:29:37.757810"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:37.757810"]]
18328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18329
+  (0.1ms) SELECT COUNT(*) FROM "punches"
18330
+  (0.2ms) rollback transaction
18331
+  (0.1ms) begin transaction
18332
+  (0.1ms) rollback transaction
18333
+  (0.1ms) begin transaction
18334
+  (0.0ms) SAVEPOINT active_record_1
18335
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.764832"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.764832"]]
18336
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18337
+  (0.2ms) rollback transaction
18338
+  (0.1ms) begin transaction
18339
+  (0.0ms) SAVEPOINT active_record_1
18340
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.768453"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.768453"]]
18341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18342
+  (0.2ms) rollback transaction
18343
+  (0.1ms) begin transaction
18344
+  (0.1ms) SAVEPOINT active_record_1
18345
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.771828"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.771828"]]
18346
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18347
+  (0.2ms) rollback transaction
18348
+  (0.1ms) begin transaction
18349
+  (0.1ms) SAVEPOINT active_record_1
18350
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.775306"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.775306"]]
18351
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18352
+  (0.2ms) rollback transaction
18353
+  (0.1ms) begin transaction
18354
+  (0.0ms) SAVEPOINT active_record_1
18355
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.778624"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.778624"]]
18356
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18357
+  (0.2ms) rollback transaction
18358
+  (0.2ms) begin transaction
18359
+  (0.1ms) SAVEPOINT active_record_1
18360
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.783191"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.783191"]]
18361
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18362
+  (0.2ms) rollback transaction
18363
+  (0.1ms) begin transaction
18364
+  (0.1ms) SAVEPOINT active_record_1
18365
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.788501"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.788501"]]
18366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18367
+  (0.2ms) rollback transaction
18368
+  (0.1ms) begin transaction
18369
+  (0.1ms) SAVEPOINT active_record_1
18370
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.793055"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.793055"]]
18371
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18372
+  (0.2ms) rollback transaction
18373
+  (0.1ms) begin transaction
18374
+  (0.1ms) SAVEPOINT active_record_1
18375
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.796892"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.796892"]]
18376
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18377
+  (0.2ms) rollback transaction
18378
+  (0.1ms) begin transaction
18379
+  (0.1ms) SAVEPOINT active_record_1
18380
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.800827"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.800827"]]
18381
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18382
+  (0.2ms) rollback transaction
18383
+  (0.1ms) begin transaction
18384
+  (0.0ms) SAVEPOINT active_record_1
18385
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.804849"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.804849"]]
18386
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18387
+  (0.2ms) rollback transaction
18388
+  (0.1ms) begin transaction
18389
+  (0.0ms) SAVEPOINT active_record_1
18390
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.808850"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.808850"]]
18391
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18392
+  (0.2ms) rollback transaction
18393
+  (0.1ms) begin transaction
18394
+  (0.1ms) SAVEPOINT active_record_1
18395
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.813054"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.813054"]]
18396
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18397
+  (0.2ms) rollback transaction
18398
+  (0.1ms) begin transaction
18399
+  (0.1ms) SAVEPOINT active_record_1
18400
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.818330"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.818330"]]
18401
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18402
+  (0.2ms) rollback transaction
18403
+  (0.1ms) begin transaction
18404
+  (0.1ms) SAVEPOINT active_record_1
18405
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.823329"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.823329"]]
18406
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18407
+  (0.2ms) rollback transaction
18408
+  (0.0ms) begin transaction
18409
+  (0.0ms) SAVEPOINT active_record_1
18410
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.827457"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.827457"]]
18411
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18412
+  (0.2ms) rollback transaction
18413
+  (0.1ms) begin transaction
18414
+  (0.1ms) SAVEPOINT active_record_1
18415
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.831489"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.831489"]]
18416
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18417
+  (0.2ms) rollback transaction
18418
+  (0.0ms) begin transaction
18419
+  (0.0ms) SAVEPOINT active_record_1
18420
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.835504"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.835504"]]
18421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18422
+  (0.2ms) rollback transaction
18423
+  (0.1ms) begin transaction
18424
+  (0.1ms) SAVEPOINT active_record_1
18425
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.839661"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.839661"]]
18426
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18427
+  (0.2ms) rollback transaction
18428
+  (0.1ms) begin transaction
18429
+  (0.1ms) SAVEPOINT active_record_1
18430
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.844165"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.844165"]]
18431
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18432
+  (0.2ms) rollback transaction
18433
+  (0.1ms) begin transaction
18434
+  (0.1ms) SAVEPOINT active_record_1
18435
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.849273"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.849273"]]
18436
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18437
+  (0.2ms) rollback transaction
18438
+  (0.1ms) begin transaction
18439
+  (0.1ms) SAVEPOINT active_record_1
18440
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.854129"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.854129"]]
18441
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18442
+  (0.2ms) rollback transaction
18443
+  (0.1ms) begin transaction
18444
+  (0.0ms) SAVEPOINT active_record_1
18445
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.858240"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.858240"]]
18446
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18447
+  (0.1ms) SAVEPOINT active_record_1
18448
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:37.860032"], ["ends_at", "2014-07-25 15:29:37.860032"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:37.860032"]]
18449
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18450
+  (0.1ms) SELECT COUNT(*) FROM "punches"
18451
+  (0.1ms) SELECT COUNT(*) FROM "punches"
18452
+  (0.2ms) rollback transaction
18453
+  (0.1ms) begin transaction
18454
+  (0.0ms) SAVEPOINT active_record_1
18455
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.865382"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.865382"]]
18456
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18457
+  (0.1ms) SAVEPOINT active_record_1
18458
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18460
+  (0.1ms) SAVEPOINT active_record_1
18461
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18462
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18463
+  (0.1ms) SAVEPOINT active_record_1
18464
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18465
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18466
+  (0.1ms) SAVEPOINT active_record_1
18467
+ SQL (0.2ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
18468
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18469
+  (0.1ms) SAVEPOINT active_record_1
18470
+ SQL (0.2ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
18471
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18472
+  (0.2ms) rollback transaction
18473
+  (0.1ms) begin transaction
18474
+  (0.1ms) SAVEPOINT active_record_1
18475
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.880155"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.880155"]]
18476
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18477
+  (0.1ms) SAVEPOINT active_record_1
18478
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18479
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18480
+  (0.1ms) SAVEPOINT active_record_1
18481
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18482
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18483
+  (0.0ms) SAVEPOINT active_record_1
18484
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18486
+  (0.0ms) SAVEPOINT active_record_1
18487
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
18488
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18489
+  (0.1ms) SAVEPOINT active_record_1
18490
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
18491
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18492
+  (0.2ms) rollback transaction
18493
+  (0.1ms) begin transaction
18494
+  (0.0ms) SAVEPOINT active_record_1
18495
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.891708"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.891708"]]
18496
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18497
+  (0.1ms) SAVEPOINT active_record_1
18498
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18499
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18500
+  (0.1ms) SAVEPOINT active_record_1
18501
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18502
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18503
+  (0.1ms) SAVEPOINT active_record_1
18504
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18505
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18506
+  (0.0ms) SAVEPOINT active_record_1
18507
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
18508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18509
+  (0.1ms) SAVEPOINT active_record_1
18510
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
18511
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18512
+  (0.2ms) rollback transaction
18513
+  (0.1ms) begin transaction
18514
+  (0.0ms) SAVEPOINT active_record_1
18515
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.902255"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.902255"]]
18516
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18517
+  (0.1ms) SAVEPOINT active_record_1
18518
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18519
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18520
+  (0.1ms) SAVEPOINT active_record_1
18521
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18522
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18523
+  (0.1ms) SAVEPOINT active_record_1
18524
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18526
+  (0.1ms) SAVEPOINT active_record_1
18527
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
18528
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18529
+  (0.0ms) SAVEPOINT active_record_1
18530
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
18531
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18532
+  (0.2ms) rollback transaction
18533
+  (0.1ms) begin transaction
18534
+  (0.1ms) SAVEPOINT active_record_1
18535
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.916303"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.916303"]]
18536
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18537
+  (0.1ms) SAVEPOINT active_record_1
18538
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18539
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18540
+  (0.0ms) SAVEPOINT active_record_1
18541
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18542
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18543
+  (0.0ms) SAVEPOINT active_record_1
18544
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18545
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18546
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 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"]]
18547
+ Punch Load (0.3ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
18548
+  (0.3ms) rollback transaction
18549
+  (0.1ms) begin transaction
18550
+  (0.1ms) SAVEPOINT active_record_1
18551
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:37.937106"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:37.937106"]]
18552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18553
+  (0.1ms) SAVEPOINT active_record_1
18554
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18555
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18556
+  (0.1ms) SAVEPOINT active_record_1
18557
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18558
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18559
+  (0.1ms) SAVEPOINT active_record_1
18560
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18561
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18562
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 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"]]
18563
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
18564
+  (0.2ms) rollback transaction
18565
+  (0.1ms) begin transaction
18566
+  (0.0ms) SAVEPOINT active_record_1
18567
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-25 15:29:37.950492"], ["title", "Bacon"], ["updated_at", "2014-07-25 15:29:37.950492"]]
18568
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18569
+  (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"]]
18570
+  (0.2ms) rollback transaction
18571
+  (0.1ms) begin transaction
18572
+  (0.1ms) SAVEPOINT active_record_1
18573
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-25 15:29:37.955890"], ["title", "Bacon"], ["updated_at", "2014-07-25 15:29:37.955890"]]
18574
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18575
+  (0.0ms) SAVEPOINT active_record_1
18576
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:37.957732"], ["ends_at", "2014-07-25 15:29:37.957732"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:37.957732"]]
18577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18578
+  (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"]]
18579
+  (0.2ms) rollback transaction
18580
+  (0.1ms) begin transaction
18581
+  (0.1ms) SAVEPOINT active_record_1
18582
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-25 15:29:37.962325"], ["title", "Bacon"], ["updated_at", "2014-07-25 15:29:37.962325"]]
18583
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18584
+  (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"]]
18585
+  (0.1ms) SAVEPOINT active_record_1
18586
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:37.966217"], ["ends_at", "2014-07-25 15:29:37.966217"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:37.966217"]]
18587
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18588
+  (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"]]
18589
+  (0.3ms) rollback transaction
18590
+  (0.1ms) begin transaction
18591
+  (0.1ms) SAVEPOINT active_record_1
18592
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-25 15:29:37.972377"], ["title", "Lebowski"], ["updated_at", "2014-07-25 15:29:37.972377"]]
18593
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18594
+  (0.1ms) SAVEPOINT active_record_1
18595
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:37.974898"], ["ends_at", "2014-07-25 15:29:37.974898"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:37.974898"]]
18596
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18597
+  (0.1ms) SAVEPOINT active_record_1
18598
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:37.977300"], ["ends_at", "2014-07-25 15:29:37.977300"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:37.977300"]]
18599
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18600
+  (0.0ms) SAVEPOINT active_record_1
18601
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-25 15:29:37.979018"], ["title", "Bacon"], ["updated_at", "2014-07-25 15:29:37.979018"]]
18602
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18603
+  (0.0ms) SAVEPOINT active_record_1
18604
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:37.980757"], ["ends_at", "2014-07-25 15:29:37.980757"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:37.980757"]]
18605
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18606
+ 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
18607
+  (0.2ms) rollback transaction
18608
+  (0.1ms) begin transaction
18609
+  (0.1ms) SAVEPOINT active_record_1
18610
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-25 15:29:37.995715"], ["title", "Lebowski"], ["updated_at", "2014-07-25 15:29:37.995715"]]
18611
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18612
+  (0.1ms) SAVEPOINT active_record_1
18613
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:37.999176"], ["ends_at", "2014-07-25 15:29:37.999176"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:37.999176"]]
18614
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18615
+  (0.1ms) SAVEPOINT active_record_1
18616
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.002286"], ["ends_at", "2014-07-25 15:29:38.002286"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.002286"]]
18617
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18618
+  (0.1ms) SAVEPOINT active_record_1
18619
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-25 15:29:38.004498"], ["title", "Bacon"], ["updated_at", "2014-07-25 15:29:38.004498"]]
18620
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18621
+  (0.1ms) SAVEPOINT active_record_1
18622
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.006602"], ["ends_at", "2014-07-25 15:29:38.006602"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.006602"]]
18623
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18624
+ 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
18625
+  (0.2ms) rollback transaction
18626
+  (0.1ms) begin transaction
18627
+  (0.1ms) SAVEPOINT active_record_1
18628
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-25 15:29:38.011383"], ["title", "Lebowski"], ["updated_at", "2014-07-25 15:29:38.011383"]]
18629
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18630
+  (0.1ms) SAVEPOINT active_record_1
18631
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.013559"], ["ends_at", "2014-07-25 15:29:38.013559"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.013559"]]
18632
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18633
+  (0.1ms) SAVEPOINT active_record_1
18634
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.015794"], ["ends_at", "2014-07-25 15:29:38.015794"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.015794"]]
18635
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18636
+  (0.0ms) SAVEPOINT active_record_1
18637
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-25 15:29:38.017645"], ["title", "Bacon"], ["updated_at", "2014-07-25 15:29:38.017645"]]
18638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18639
+  (0.0ms) SAVEPOINT active_record_1
18640
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.019323"], ["ends_at", "2014-07-25 15:29:38.019323"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.019323"]]
18641
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18642
+  (0.1ms) SAVEPOINT active_record_1
18643
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2014-07-25 15:29:38.021119"], ["title", "Hipsters"], ["updated_at", "2014-07-25 15:29:38.021119"]]
18644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18645
+ 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
18646
+  (0.2ms) rollback transaction
18647
+  (0.1ms) begin transaction
18648
+  (0.1ms) SAVEPOINT active_record_1
18649
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-25 15:29:38.025508"], ["title", "Lebowski"], ["updated_at", "2014-07-25 15:29:38.025508"]]
18650
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18651
+  (0.1ms) SAVEPOINT active_record_1
18652
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.028222"], ["ends_at", "2014-07-25 15:29:38.028222"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.028222"]]
18653
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18654
+  (0.1ms) SAVEPOINT active_record_1
18655
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.031064"], ["ends_at", "2014-07-25 15:29:38.031064"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.031064"]]
18656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18657
+  (0.1ms) SAVEPOINT active_record_1
18658
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-25 15:29:38.033054"], ["title", "Bacon"], ["updated_at", "2014-07-25 15:29:38.033054"]]
18659
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18660
+  (0.1ms) SAVEPOINT active_record_1
18661
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.034968"], ["ends_at", "2014-07-25 15:29:38.034968"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.034968"]]
18662
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18663
+ 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
18664
+  (0.2ms) rollback transaction
18665
+  (0.1ms) begin transaction
18666
+  (0.0ms) SAVEPOINT active_record_1
18667
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-25 15:29:38.039594"], ["title", "Lebowski"], ["updated_at", "2014-07-25 15:29:38.039594"]]
18668
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18669
+  (0.1ms) SAVEPOINT active_record_1
18670
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.041415"], ["ends_at", "2014-07-25 15:29:38.041415"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.041415"]]
18671
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18672
+  (0.0ms) SAVEPOINT active_record_1
18673
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.043354"], ["ends_at", "2014-07-25 15:29:38.043354"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.043354"]]
18674
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18675
+  (0.0ms) SAVEPOINT active_record_1
18676
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-25 15:29:38.044836"], ["title", "Bacon"], ["updated_at", "2014-07-25 15:29:38.044836"]]
18677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18678
+  (0.0ms) SAVEPOINT active_record_1
18679
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.046319"], ["ends_at", "2014-07-25 15:29:38.046319"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.046319"]]
18680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18681
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" INNER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "punches"."punchable_type", "punches"."punchable_id", "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1
18682
+  (0.2ms) rollback transaction
18683
+  (0.1ms) begin transaction
18684
+  (0.0ms) SAVEPOINT active_record_1
18685
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-25 15:29:38.051236"], ["title", "Lebowski"], ["updated_at", "2014-07-25 15:29:38.051236"]]
18686
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18687
+  (0.0ms) SAVEPOINT active_record_1
18688
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.053040"], ["ends_at", "2014-07-25 15:29:38.053040"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.053040"]]
18689
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18690
+  (0.1ms) SAVEPOINT active_record_1
18691
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.055081"], ["ends_at", "2014-07-25 15:29:38.055081"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.055081"]]
18692
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18693
+  (0.1ms) SAVEPOINT active_record_1
18694
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-25 15:29:38.057882"], ["title", "Bacon"], ["updated_at", "2014-07-25 15:29:38.057882"]]
18695
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18696
+  (0.1ms) SAVEPOINT active_record_1
18697
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.060839"], ["ends_at", "2014-07-25 15:29:38.060839"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.060839"]]
18698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18699
+ 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
18700
+  (0.3ms) rollback transaction
18701
+  (0.1ms) begin transaction
18702
+  (0.1ms) SAVEPOINT active_record_1
18703
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-25 15:29:38.066079"], ["title", "Lebowski"], ["updated_at", "2014-07-25 15:29:38.066079"]]
18704
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18705
+  (0.1ms) SAVEPOINT active_record_1
18706
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.068162"], ["ends_at", "2014-07-25 15:29:38.068162"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.068162"]]
18707
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18708
+  (0.0ms) SAVEPOINT active_record_1
18709
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.070168"], ["ends_at", "2014-07-25 15:29:38.070168"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.070168"]]
18710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18711
+  (0.0ms) SAVEPOINT active_record_1
18712
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-25 15:29:38.071824"], ["title", "Bacon"], ["updated_at", "2014-07-25 15:29:38.071824"]]
18713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18714
+  (0.0ms) SAVEPOINT active_record_1
18715
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.073410"], ["ends_at", "2014-07-25 15:29:38.073410"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.073410"]]
18716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18717
+  (0.0ms) SAVEPOINT active_record_1
18718
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "American Apparel aute Banksy officia ugh."], ["created_at", "2014-07-25 15:29:38.074921"], ["title", "Hipsters"], ["updated_at", "2014-07-25 15:29:38.074921"]]
18719
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18720
+ 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
18721
+  (0.3ms) rollback transaction
18722
+  (0.1ms) begin transaction
18723
+  (0.1ms) SAVEPOINT active_record_1
18724
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-25 15:29:38.079031"], ["title", "Lebowski"], ["updated_at", "2014-07-25 15:29:38.079031"]]
18725
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18726
+  (0.1ms) SAVEPOINT active_record_1
18727
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.081609"], ["ends_at", "2014-07-25 15:29:38.081609"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.081609"]]
18728
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18729
+  (0.1ms) SAVEPOINT active_record_1
18730
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.084217"], ["ends_at", "2014-07-25 15:29:38.084217"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.084217"]]
18731
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18732
+  (0.1ms) SAVEPOINT active_record_1
18733
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-25 15:29:38.086862"], ["title", "Bacon"], ["updated_at", "2014-07-25 15:29:38.086862"]]
18734
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18735
+  (0.1ms) SAVEPOINT active_record_1
18736
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.089786"], ["ends_at", "2014-07-25 15:29:38.089786"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.089786"]]
18737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18738
+ 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
18739
+  (0.3ms) rollback transaction
18740
+  (0.1ms) begin transaction
18741
+  (0.1ms) SAVEPOINT active_record_1
18742
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-25 15:29:38.096200"], ["title", "Lebowski"], ["updated_at", "2014-07-25 15:29:38.096200"]]
18743
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18744
+  (0.1ms) SAVEPOINT active_record_1
18745
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.098509"], ["ends_at", "2014-07-25 15:29:38.098509"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.098509"]]
18746
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18747
+  (0.1ms) SAVEPOINT active_record_1
18748
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.101069"], ["ends_at", "2014-07-25 15:29:38.101069"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.101069"]]
18749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18750
+  (0.0ms) SAVEPOINT active_record_1
18751
+ SQL (0.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-25 15:29:38.102921"], ["title", "Bacon"], ["updated_at", "2014-07-25 15:29:38.102921"]]
18752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18753
+  (0.0ms) SAVEPOINT active_record_1
18754
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.104491"], ["ends_at", "2014-07-25 15:29:38.104491"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.104491"]]
18755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18756
+ 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
18757
+  (0.2ms) rollback transaction
18758
+  (0.1ms) begin transaction
18759
+  (0.1ms) SAVEPOINT active_record_1
18760
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Lebowski ipsum over the line! Dolor sit amet, consectetur adipiscing elit praesent ac."], ["created_at", "2014-07-25 15:29:38.109145"], ["title", "Lebowski"], ["updated_at", "2014-07-25 15:29:38.109145"]]
18761
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18762
+  (0.1ms) SAVEPOINT active_record_1
18763
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.111187"], ["ends_at", "2014-07-25 15:29:38.111187"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.111187"]]
18764
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18765
+  (0.1ms) SAVEPOINT active_record_1
18766
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.113428"], ["ends_at", "2014-07-25 15:29:38.113428"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.113428"]]
18767
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18768
+  (0.1ms) SAVEPOINT active_record_1
18769
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "Bacon ipsum dolor sit amet turkey short ribs tri-tip"], ["created_at", "2014-07-25 15:29:38.115372"], ["title", "Bacon"], ["updated_at", "2014-07-25 15:29:38.115372"]]
18770
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18771
+  (0.1ms) SAVEPOINT active_record_1
18772
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:38.118327"], ["ends_at", "2014-07-25 15:29:38.118327"], ["punchable_id", 2], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:38.118327"]]
18773
+  (0.2ms) RELEASE SAVEPOINT active_record_1
18774
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" LEFT OUTER JOIN "punches" ON "punches"."punchable_id" = "articles"."id" AND "punches"."punchable_type" = 'Article' GROUP BY "articles"."id" ORDER BY SUM(punches.hits) DESC LIMIT 1 OFFSET 1
18775
+  (0.3ms) rollback transaction
18776
+  (0.4ms) begin transaction
18777
+  (0.1ms) SAVEPOINT active_record_1
18778
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.803116"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.803116"]]
18779
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18780
+  (0.2ms) rollback transaction
18781
+  (0.1ms) begin transaction
18782
+  (0.1ms) SAVEPOINT active_record_1
18783
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.818668"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.818668"]]
18784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18785
+  (0.3ms) rollback transaction
18786
+  (0.1ms) begin transaction
18787
+  (0.1ms) SAVEPOINT active_record_1
18788
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.824723"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.824723"]]
18789
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18790
+  (0.2ms) rollback transaction
18791
+  (0.1ms) begin transaction
18792
+  (0.1ms) SAVEPOINT active_record_1
18793
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.829085"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.829085"]]
18794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18795
+  (0.2ms) rollback transaction
18796
+  (0.1ms) begin transaction
18797
+  (0.1ms) SAVEPOINT active_record_1
18798
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.832688"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.832688"]]
18799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18800
+  (0.2ms) rollback transaction
18801
+  (0.1ms) begin transaction
18802
+  (0.1ms) SAVEPOINT active_record_1
18803
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.836104"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.836104"]]
18804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18805
+  (0.2ms) rollback transaction
18806
+  (0.1ms) begin transaction
18807
+  (0.0ms) SAVEPOINT active_record_1
18808
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.839502"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.839502"]]
18809
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18810
+  (0.2ms) rollback transaction
18811
+  (0.1ms) begin transaction
18812
+  (0.1ms) SAVEPOINT active_record_1
18813
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.842942"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.842942"]]
18814
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18815
+  (0.2ms) rollback transaction
18816
+  (0.1ms) begin transaction
18817
+  (0.1ms) SAVEPOINT active_record_1
18818
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.846262"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.846262"]]
18819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18820
+  (0.1ms) rollback transaction
18821
+  (0.1ms) begin transaction
18822
+  (0.1ms) SAVEPOINT active_record_1
18823
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.849579"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.849579"]]
18824
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18825
+  (0.3ms) rollback transaction
18826
+  (0.1ms) begin transaction
18827
+  (0.1ms) SAVEPOINT active_record_1
18828
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.855058"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.855058"]]
18829
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18830
+  (0.2ms) rollback transaction
18831
+  (0.1ms) begin transaction
18832
+  (0.1ms) SAVEPOINT active_record_1
18833
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.859951"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.859951"]]
18834
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18835
+  (0.2ms) rollback transaction
18836
+  (0.1ms) begin transaction
18837
+  (0.0ms) SAVEPOINT active_record_1
18838
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.864192"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.864192"]]
18839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18840
+  (0.2ms) rollback transaction
18841
+  (0.0ms) begin transaction
18842
+  (0.0ms) SAVEPOINT active_record_1
18843
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.867656"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.867656"]]
18844
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18845
+  (0.2ms) rollback transaction
18846
+  (0.1ms) begin transaction
18847
+  (0.1ms) SAVEPOINT active_record_1
18848
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.871529"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.871529"]]
18849
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18850
+  (0.2ms) rollback transaction
18851
+  (0.1ms) begin transaction
18852
+  (0.1ms) SAVEPOINT active_record_1
18853
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.875174"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.875174"]]
18854
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18855
+  (0.2ms) rollback transaction
18856
+  (0.1ms) begin transaction
18857
+  (0.0ms) SAVEPOINT active_record_1
18858
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.878780"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.878780"]]
18859
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18860
+  (0.3ms) rollback transaction
18861
+  (0.1ms) begin transaction
18862
+  (0.1ms) SAVEPOINT active_record_1
18863
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.884204"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.884204"]]
18864
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18865
+  (0.2ms) rollback transaction
18866
+  (0.1ms) begin transaction
18867
+  (0.1ms) SAVEPOINT active_record_1
18868
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.889012"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.889012"]]
18869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18870
+  (0.2ms) rollback transaction
18871
+  (0.1ms) begin transaction
18872
+  (0.1ms) SAVEPOINT active_record_1
18873
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.893089"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.893089"]]
18874
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18875
+  (0.2ms) rollback transaction
18876
+  (0.1ms) begin transaction
18877
+  (0.0ms) SAVEPOINT active_record_1
18878
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.896561"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.896561"]]
18879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18880
+  (0.2ms) rollback transaction
18881
+  (0.1ms) begin transaction
18882
+  (0.1ms) SAVEPOINT active_record_1
18883
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.900076"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.900076"]]
18884
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18885
+  (0.2ms) rollback transaction
18886
+  (0.1ms) begin transaction
18887
+  (0.0ms) SAVEPOINT active_record_1
18888
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.903461"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.903461"]]
18889
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18890
+  (0.0ms) SAVEPOINT active_record_1
18891
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:43.904992"], ["ends_at", "2014-07-25 15:29:43.904992"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:43.904992"]]
18892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18893
+  (0.1ms) SELECT COUNT(*) FROM "punches"
18894
+  (0.1ms) SELECT COUNT(*) FROM "punches"
18895
+  (0.2ms) rollback transaction
18896
+  (0.1ms) begin transaction
18897
+  (0.1ms) SAVEPOINT active_record_1
18898
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.913613"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.913613"]]
18899
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18900
+  (0.1ms) SAVEPOINT active_record_1
18901
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18902
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18903
+  (0.1ms) SAVEPOINT active_record_1
18904
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18905
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18906
+  (0.1ms) SAVEPOINT active_record_1
18907
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18908
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18909
+  (0.1ms) SAVEPOINT active_record_1
18910
+ SQL (0.2ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
18911
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18912
+  (0.0ms) SAVEPOINT active_record_1
18913
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
18914
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18915
+  (0.2ms) rollback transaction
18916
+  (0.1ms) begin transaction
18917
+  (0.1ms) SAVEPOINT active_record_1
18918
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.928086"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.928086"]]
18919
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18920
+  (0.1ms) SAVEPOINT active_record_1
18921
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18922
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18923
+  (0.1ms) SAVEPOINT active_record_1
18924
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18925
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18926
+  (0.0ms) SAVEPOINT active_record_1
18927
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18928
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18929
+  (0.0ms) SAVEPOINT active_record_1
18930
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
18931
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18932
+  (0.0ms) SAVEPOINT active_record_1
18933
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
18934
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18935
+  (0.2ms) rollback transaction
18936
+  (0.1ms) begin transaction
18937
+  (0.0ms) SAVEPOINT active_record_1
18938
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.938699"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.938699"]]
18939
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18940
+  (0.2ms) SAVEPOINT active_record_1
18941
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18943
+  (0.1ms) SAVEPOINT active_record_1
18944
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18945
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18946
+  (0.1ms) SAVEPOINT active_record_1
18947
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18948
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18949
+  (0.1ms) SAVEPOINT active_record_1
18950
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
18951
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18952
+  (0.0ms) SAVEPOINT active_record_1
18953
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
18954
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18955
+  (0.2ms) rollback transaction
18956
+  (0.1ms) begin transaction
18957
+  (0.1ms) SAVEPOINT active_record_1
18958
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.952655"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.952655"]]
18959
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18960
+  (0.1ms) SAVEPOINT active_record_1
18961
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18962
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18963
+  (0.0ms) SAVEPOINT active_record_1
18964
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18965
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18966
+  (0.0ms) SAVEPOINT active_record_1
18967
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18968
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18969
+  (0.0ms) SAVEPOINT active_record_1
18970
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
18971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18972
+  (0.0ms) SAVEPOINT active_record_1
18973
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
18974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18975
+  (0.2ms) rollback transaction
18976
+  (0.1ms) begin transaction
18977
+  (0.1ms) SAVEPOINT active_record_1
18978
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.963665"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.963665"]]
18979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18980
+  (0.1ms) SAVEPOINT active_record_1
18981
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18982
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18983
+  (0.1ms) SAVEPOINT active_record_1
18984
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
18985
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18986
+  (0.0ms) SAVEPOINT active_record_1
18987
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
18988
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18989
+ Punch Load (0.3ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 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"]]
18990
+ Punch Load (0.3ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
18991
+  (0.2ms) rollback transaction
18992
+  (0.1ms) begin transaction
18993
+  (0.1ms) SAVEPOINT active_record_1
18994
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:43.988440"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:43.988440"]]
18995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18996
+  (0.1ms) SAVEPOINT active_record_1
18997
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
18998
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18999
+  (0.0ms) SAVEPOINT active_record_1
19000
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
19001
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19002
+  (0.0ms) SAVEPOINT active_record_1
19003
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
19004
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19005
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 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"]]
19006
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
19007
+  (0.2ms) rollback transaction
19008
+  (0.3ms) begin transaction
19009
+  (0.1ms) SAVEPOINT active_record_1
19010
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.818146"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.818146"]]
19011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19012
+  (0.2ms) rollback transaction
19013
+  (0.1ms) begin transaction
19014
+  (0.1ms) SAVEPOINT active_record_1
19015
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.833590"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.833590"]]
19016
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19017
+  (0.2ms) rollback transaction
19018
+  (0.1ms) begin transaction
19019
+  (0.1ms) SAVEPOINT active_record_1
19020
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.839170"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.839170"]]
19021
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19022
+  (0.2ms) rollback transaction
19023
+  (0.1ms) begin transaction
19024
+  (0.0ms) SAVEPOINT active_record_1
19025
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.843317"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.843317"]]
19026
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19027
+  (0.2ms) rollback transaction
19028
+  (0.1ms) begin transaction
19029
+  (0.0ms) SAVEPOINT active_record_1
19030
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.846734"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.846734"]]
19031
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19032
+  (0.2ms) rollback transaction
19033
+  (0.1ms) begin transaction
19034
+  (0.0ms) SAVEPOINT active_record_1
19035
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.850137"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.850137"]]
19036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19037
+  (0.2ms) rollback transaction
19038
+  (0.1ms) begin transaction
19039
+  (0.1ms) SAVEPOINT active_record_1
19040
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.854632"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.854632"]]
19041
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19042
+  (0.2ms) rollback transaction
19043
+  (0.1ms) begin transaction
19044
+  (0.1ms) SAVEPOINT active_record_1
19045
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.858958"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.858958"]]
19046
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19047
+  (0.2ms) rollback transaction
19048
+  (0.0ms) begin transaction
19049
+  (0.0ms) SAVEPOINT active_record_1
19050
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.862540"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.862540"]]
19051
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19052
+  (0.3ms) rollback transaction
19053
+  (0.1ms) begin transaction
19054
+  (0.1ms) SAVEPOINT active_record_1
19055
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.867475"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.867475"]]
19056
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19057
+  (0.2ms) rollback transaction
19058
+  (0.1ms) begin transaction
19059
+  (0.1ms) SAVEPOINT active_record_1
19060
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.872246"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.872246"]]
19061
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19062
+  (0.2ms) rollback transaction
19063
+  (0.1ms) begin transaction
19064
+  (0.0ms) SAVEPOINT active_record_1
19065
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.876090"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.876090"]]
19066
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19067
+  (0.2ms) rollback transaction
19068
+  (0.1ms) begin transaction
19069
+  (0.0ms) SAVEPOINT active_record_1
19070
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.879488"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.879488"]]
19071
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19072
+  (0.2ms) rollback transaction
19073
+  (0.1ms) begin transaction
19074
+  (0.0ms) SAVEPOINT active_record_1
19075
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.882965"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.882965"]]
19076
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19077
+  (0.2ms) rollback transaction
19078
+  (0.1ms) begin transaction
19079
+  (0.1ms) SAVEPOINT active_record_1
19080
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.888398"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.888398"]]
19081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19082
+  (0.2ms) rollback transaction
19083
+  (0.1ms) begin transaction
19084
+  (0.1ms) SAVEPOINT active_record_1
19085
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.892780"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.892780"]]
19086
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19087
+  (0.2ms) rollback transaction
19088
+  (0.1ms) begin transaction
19089
+  (0.1ms) SAVEPOINT active_record_1
19090
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.897571"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.897571"]]
19091
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19092
+  (0.3ms) rollback transaction
19093
+  (0.1ms) begin transaction
19094
+  (0.1ms) SAVEPOINT active_record_1
19095
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.902768"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.902768"]]
19096
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19097
+  (0.2ms) rollback transaction
19098
+  (0.1ms) begin transaction
19099
+  (0.1ms) SAVEPOINT active_record_1
19100
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.907467"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.907467"]]
19101
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19102
+  (0.2ms) rollback transaction
19103
+  (0.1ms) begin transaction
19104
+  (0.0ms) SAVEPOINT active_record_1
19105
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.911370"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.911370"]]
19106
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19107
+  (0.2ms) rollback transaction
19108
+  (0.0ms) begin transaction
19109
+  (0.0ms) SAVEPOINT active_record_1
19110
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.914881"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.914881"]]
19111
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19112
+  (0.2ms) rollback transaction
19113
+  (0.1ms) begin transaction
19114
+  (0.1ms) SAVEPOINT active_record_1
19115
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.919455"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.919455"]]
19116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19117
+  (0.2ms) rollback transaction
19118
+  (0.1ms) begin transaction
19119
+  (0.0ms) SAVEPOINT active_record_1
19120
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.923918"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.923918"]]
19121
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19122
+  (0.1ms) SAVEPOINT active_record_1
19123
+ SQL (0.5ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:29:53.925803"], ["ends_at", "2014-07-25 15:29:53.925803"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:29:53.925803"]]
19124
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19125
+  (0.1ms) SELECT COUNT(*) FROM "punches"
19126
+  (0.1ms) SELECT COUNT(*) FROM "punches"
19127
+  (0.2ms) rollback transaction
19128
+  (0.1ms) begin transaction
19129
+  (0.1ms) SAVEPOINT active_record_1
19130
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.935217"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.935217"]]
19131
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19132
+  (0.1ms) SAVEPOINT active_record_1
19133
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
19134
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19135
+  (0.1ms) SAVEPOINT active_record_1
19136
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
19137
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19138
+  (0.0ms) SAVEPOINT active_record_1
19139
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
19140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19141
+  (0.0ms) SAVEPOINT active_record_1
19142
+ SQL (0.2ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
19143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19144
+  (0.0ms) SAVEPOINT active_record_1
19145
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
19146
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19147
+  (0.2ms) rollback transaction
19148
+  (0.1ms) begin transaction
19149
+  (0.0ms) SAVEPOINT active_record_1
19150
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.948584"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.948584"]]
19151
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19152
+  (0.1ms) SAVEPOINT active_record_1
19153
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
19154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19155
+  (0.1ms) SAVEPOINT active_record_1
19156
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
19157
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19158
+  (0.1ms) SAVEPOINT active_record_1
19159
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
19160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19161
+  (0.1ms) SAVEPOINT active_record_1
19162
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
19163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19164
+  (0.1ms) SAVEPOINT active_record_1
19165
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
19166
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19167
+  (0.2ms) rollback transaction
19168
+  (0.1ms) begin transaction
19169
+  (0.1ms) SAVEPOINT active_record_1
19170
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.962166"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.962166"]]
19171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19172
+  (0.1ms) SAVEPOINT active_record_1
19173
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
19174
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19175
+  (0.1ms) SAVEPOINT active_record_1
19176
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
19177
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19178
+  (0.1ms) SAVEPOINT active_record_1
19179
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
19180
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19181
+  (0.1ms) SAVEPOINT active_record_1
19182
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
19183
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19184
+  (0.1ms) SAVEPOINT active_record_1
19185
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
19186
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19187
+  (0.2ms) rollback transaction
19188
+  (0.1ms) begin transaction
19189
+  (0.1ms) SAVEPOINT active_record_1
19190
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.975820"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.975820"]]
19191
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19192
+  (0.1ms) SAVEPOINT active_record_1
19193
+ SQL (0.3ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
19194
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19195
+  (0.1ms) SAVEPOINT active_record_1
19196
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
19197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19198
+  (0.1ms) SAVEPOINT active_record_1
19199
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
19200
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19201
+  (0.0ms) SAVEPOINT active_record_1
19202
+ SQL (0.1ms) UPDATE "punches" SET "average_time" = ?, "hits" = ?, "starts_at" = ? WHERE "punches"."id" = 1 [["average_time", "2014-07-25 08:30:00.000000"], ["hits", 2], ["starts_at", "2014-07-25 08:00:00.000000"]]
19203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19204
+  (0.1ms) SAVEPOINT active_record_1
19205
+ SQL (0.1ms) DELETE FROM "punches" WHERE "punches"."id" = ? [["id", 3]]
19206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19207
+  (0.2ms) rollback transaction
19208
+  (0.1ms) begin transaction
19209
+  (0.1ms) SAVEPOINT active_record_1
19210
+ SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:53.987791"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:53.987791"]]
19211
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19212
+  (0.1ms) SAVEPOINT active_record_1
19213
+ SQL (0.4ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
19214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19215
+  (0.1ms) SAVEPOINT active_record_1
19216
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
19217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19218
+  (0.1ms) SAVEPOINT active_record_1
19219
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
19220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19221
+ Punch Load (0.3ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 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"]]
19222
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
19223
+  (0.2ms) rollback transaction
19224
+  (0.0ms) begin transaction
19225
+  (0.0ms) SAVEPOINT active_record_1
19226
+ SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:29:54.011206"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:29:54.011206"]]
19227
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19228
+  (0.0ms) SAVEPOINT active_record_1
19229
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 09:00:00.000000"], ["ends_at", "2014-07-25 09:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 09:00:00.000000"]]
19230
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19231
+  (0.1ms) SAVEPOINT active_record_1
19232
+ SQL (0.1ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-08-01 07:00:00.000000"], ["ends_at", "2014-08-01 07:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-08-01 07:00:00.000000"]]
19233
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19234
+  (0.1ms) SAVEPOINT active_record_1
19235
+ SQL (0.2ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 08:00:00.000000"], ["ends_at", "2014-07-25 08:00:00.000000"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 08:00:00.000000"]]
19236
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19237
+ Punch Load (0.2ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 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"]]
19238
+ Punch Load (0.1ms) SELECT "punches".* FROM "punches" WHERE "punches"."punchable_id" = ? AND "punches"."punchable_type" = ? AND (punches.starts_at >= '2014-07-25 00:00:00.000000' AND punches.ends_at <= '2014-07-25 23:59:59.999999') AND (id != 3) ORDER BY punches.average_time DESC LIMIT 1 [["punchable_id", 1], ["punchable_type", "Article"]]
19239
+  (0.2ms) rollback transaction
19240
+  (0.3ms) begin transaction
19241
+  (0.1ms) SAVEPOINT active_record_1
19242
+ SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "I know, I just call her Annabelle cause she's shaped like a... she's the belle of the ball!"], ["created_at", "2014-07-25 15:30:13.930754"], ["title", "Bluths"], ["updated_at", "2014-07-25 15:30:13.930754"]]
19243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19244
+  (0.1ms) SAVEPOINT active_record_1
19245
+ SQL (0.5ms) INSERT INTO "punches" ("average_time", "ends_at", "punchable_id", "punchable_type", "starts_at") VALUES (?, ?, ?, ?, ?) [["average_time", "2014-07-25 15:30:13.942364"], ["ends_at", "2014-07-25 15:30:13.942364"], ["punchable_id", 1], ["punchable_type", "Article"], ["starts_at", "2014-07-25 15:30:13.942364"]]
19246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19247
+  (0.3ms) rollback transaction