has_moderated 1.1 → 1.1.1

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.
@@ -24,28 +24,26 @@ module HasModerated
24
24
  record
25
25
  end
26
26
 
27
- def accept_changes(record)
27
+ def accept_changes(record, save_opts = Hash.new)
28
28
  if record
29
29
  HasModerated::Common::try_without_moderation(record) do
30
- # don't run validations on save (were already ran when moderation was created)
31
- record.save!
30
+ # run validations (issue #12)
31
+ record.save!(save_opts)
32
32
  end
33
33
  end
34
34
  record
35
35
  end
36
36
 
37
- def accept!
37
+ def accept!(save_opts = Hash.new)
38
38
  record = apply
39
- accept_changes(record)
39
+ accept_changes(record, save_opts)
40
40
  self.destroy
41
41
  record
42
42
  end
43
43
 
44
- def accept
44
+ def accept(save_opts = Hash.new)
45
45
  begin
46
- record = apply
47
- accept_changes(record)
48
- self.destroy
46
+ accept!(save_opts)
49
47
  true
50
48
  rescue
51
49
  false
@@ -66,7 +64,7 @@ module HasModerated
66
64
 
67
65
  def live_preview
68
66
  self.transaction do
69
- accept
67
+ accept!(:perform_validation => false)
70
68
  yield(self.moderatable)
71
69
  raise ActiveRecord::Rollback
72
70
  end
@@ -1,3 +1,3 @@
1
1
  module HasModerated
2
- VERSION = "1.1"
2
+ VERSION = "1.1.1"
3
3
  end
@@ -350125,3 +350125,1116 @@ Connecting to database specified by database.yml
350125
350125
   (0.1ms) SELECT COUNT(*) FROM "subtasks" 
350126
350126
   (0.1ms) SELECT COUNT(*) FROM "moderations"
350127
350127
   (0.6ms) rollback transaction
350128
+ Connecting to database specified by database.yml
350129
+  (0.5ms) begin transaction
350130
+  (0.1ms) SAVEPOINT active_record_1
350131
+ SQL (3.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "avatar"=>nil, "picture"=>nil, "parentable_id"=>nil, "parentable_type"=>nil, "title"=>nil, "created_at"=>nil, "updated_at"=>nil, "avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1639-882-6857/test.jpg"}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Photo2"], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350133
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
350134
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350135
+  (0.1ms) SAVEPOINT active_record_1
350136
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", "test.jpg"], ["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350137
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350138
+  (0.0ms) SAVEPOINT active_record_1
350139
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350140
+  (0.0ms) SAVEPOINT active_record_1
350141
+ SQL (0.2ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350142
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350143
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
350144
+ Photo2 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
350145
+  (0.5ms) rollback transaction
350146
+  (0.0ms) begin transaction
350147
+  (0.1ms) SAVEPOINT active_record_1
350148
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", "test.jpg"], ["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350149
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350150
+  (0.1ms) SELECT COUNT(*) FROM "photos"
350151
+ Photo3 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
350152
+  (0.4ms) rollback transaction
350153
+  (0.0ms) begin transaction
350154
+  (0.1ms) SAVEPOINT active_record_1
350155
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", nil], ["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350156
+ SQL (0.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["data", {:attributes=>{"avatar"=>nil}}], ["moderatable_id", 1], ["moderatable_type", "Photo4"], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350157
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["data", {:attributes=>{"avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1639-882-4856/test.jpg"}}], ["moderatable_id", 1], ["moderatable_type", "Photo4"], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350158
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350159
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
350160
+ Photo4 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
350161
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350162
+ Photo4 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = 1 LIMIT 1
350163
+  (0.1ms) SAVEPOINT active_record_1
350164
+ Photo4 Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 1]]
350165
+  (0.3ms) UPDATE "photos" SET "avatar" = 'test.jpg', "updated_at" = '2012-10-14 14:39:27.727600' WHERE "photos"."id" = 1
350166
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350167
+  (0.0ms) SAVEPOINT active_record_1
350168
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
350169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350170
+  (0.1ms) SELECT COUNT(*) FROM "photos"
350171
+ Photo4 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
350172
+  (0.5ms) rollback transaction
350173
+  (0.1ms) begin transaction
350174
+  (0.1ms) SAVEPOINT active_record_1
350175
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", nil], ["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350176
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350177
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
350178
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
350179
+  (0.0ms) SAVEPOINT active_record_1
350180
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["data", {:attributes=>{"avatar"=>nil}}], ["moderatable_id", 1], ["moderatable_type", "Photo5"], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350181
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 1]]
350182
+  (0.1ms) UPDATE "photos" SET "avatar" = NULL, "updated_at" = '2012-10-14 14:39:27.821418' WHERE "photos"."id" = 1
350183
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["data", {:attributes=>{"avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1639-882-4736/test.jpg"}}], ["moderatable_id", 1], ["moderatable_type", "Photo5"], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350184
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350185
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350186
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = 1 LIMIT 1
350187
+  (0.1ms) SAVEPOINT active_record_1
350188
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 1]]
350189
+  (0.1ms) UPDATE "photos" SET "avatar" = 'test.jpg', "updated_at" = '2012-10-14 14:39:27.838434' WHERE "photos"."id" = 1
350190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350191
+  (0.0ms) SAVEPOINT active_record_1
350192
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
350193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350194
+  (0.1ms) SELECT COUNT(*) FROM "photos"
350195
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
350196
+  (0.4ms) rollback transaction
350197
+  (0.1ms) begin transaction
350198
+  (0.1ms) SAVEPOINT active_record_1
350199
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", nil], ["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350200
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["data", {:attributes=>{"avatar"=>nil}}], ["moderatable_id", 1], ["moderatable_type", "Photo6"], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350201
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["data", {:attributes=>{"avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1639-882-9746/test.jpg"}}], ["moderatable_id", 1], ["moderatable_type", "Photo6"], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350203
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350204
+  (0.0ms) SAVEPOINT active_record_1
350205
+ SQL (0.2ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
350206
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350207
+  (0.5ms) rollback transaction
350208
+  (0.1ms) begin transaction
350209
+  (0.1ms) SAVEPOINT active_record_1
350210
+ SQL (2.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:photos=>[{"id"=>nil, "avatar"=>nil, "picture"=>nil, "parentable_id"=>nil, "parentable_type"=>nil, "title"=>nil, "created_at"=>nil, "updated_at"=>nil, "avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1639-882-4891/test.jpg"}]}}}], ["moderatable_id", nil], ["moderatable_type", "Task7"], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350211
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350212
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
350213
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
350214
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350215
+  (0.1ms) SAVEPOINT active_record_1
350216
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350218
+  (0.1ms) SAVEPOINT active_record_1
350219
+ SQL (0.3ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", "test.jpg"], ["created_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00], ["parentable_id", 1], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:27 UTC +00:00]]
350220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350221
+ Task7 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350222
+  (0.1ms) SAVEPOINT active_record_1
350223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350224
+  (0.0ms) SAVEPOINT active_record_1
350225
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350226
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350227
+ Task7 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350228
+  (0.1ms) SELECT COUNT(*) FROM "photos" WHERE "photos"."parentable_id" = 1
350229
+ Task7 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350230
+ Photo7 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."parentable_id" = 1 LIMIT 1
350231
+  (0.6ms) rollback transaction
350232
+  (0.1ms) begin transaction
350233
+  (0.1ms) SAVEPOINT active_record_1
350234
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}}], ["moderatable_id", nil], ["moderatable_type", "Task8"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350236
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350237
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
350238
+  (0.1ms) SELECT COUNT(*) FROM "photos"
350239
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350240
+  (0.1ms) SAVEPOINT active_record_1
350241
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350242
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350243
+  (0.0ms) SAVEPOINT active_record_1
350244
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350245
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350246
+ Task8 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350247
+  (0.1ms) SAVEPOINT active_record_1
350248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350249
+  (0.0ms) SAVEPOINT active_record_1
350250
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350251
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350252
+ Task8 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350253
+  (0.1ms) SELECT COUNT(*) FROM "photos" WHERE "photos"."parentable_id" = 1
350254
+  (0.1ms) SELECT COUNT(*) FROM "photos"
350255
+  (0.6ms) rollback transaction
350256
+  (0.1ms) begin transaction
350257
+  (0.1ms) SAVEPOINT active_record_1
350258
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350260
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350261
+  (0.0ms) SAVEPOINT active_record_1
350262
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task9"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350264
+ Task9 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350265
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
350266
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350267
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350268
+ Task9 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350269
+  (0.1ms) SAVEPOINT active_record_1
350270
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350272
+ Task9 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350273
+  (0.1ms) SAVEPOINT active_record_1
350274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350275
+  (0.0ms) SAVEPOINT active_record_1
350276
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350277
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350278
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350279
+ Task9 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350280
+ Subtask9 Load (0.2ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350281
+  (0.6ms) rollback transaction
350282
+  (0.1ms) begin transaction
350283
+  (0.1ms) SAVEPOINT active_record_1
350284
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350285
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350286
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350287
+  (0.1ms) SAVEPOINT active_record_1
350288
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task10"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350289
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350290
+  (0.0ms) SAVEPOINT active_record_1
350291
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350292
+ Task10 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350293
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
350294
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350295
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350296
+ Task10 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350297
+  (0.1ms) SAVEPOINT active_record_1
350298
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350299
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350300
+ Task10 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350301
+  (0.0ms) SAVEPOINT active_record_1
350302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350303
+  (0.0ms) SAVEPOINT active_record_1
350304
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350305
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350306
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350307
+ Task10 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350308
+ Subtask10 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350309
+  (0.6ms) rollback transaction
350310
+  (0.1ms) begin transaction
350311
+  (0.1ms) SAVEPOINT active_record_1
350312
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350314
+  (0.1ms) SAVEPOINT active_record_1
350315
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350316
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350317
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350318
+ Subtask11 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
350319
+  (0.0ms) SAVEPOINT active_record_1
350320
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task11"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350322
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350323
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
350324
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350325
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350326
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350327
+ Subtask11 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
350328
+  (0.0ms) SAVEPOINT active_record_1
350329
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:39:28.345817' WHERE "subtasks"."id" = 1
350330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350331
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350332
+  (0.0ms) SAVEPOINT active_record_1
350333
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350334
+  (0.0ms) SAVEPOINT active_record_1
350335
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350336
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350337
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350338
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350339
+ Subtask11 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350340
+  (0.6ms) rollback transaction
350341
+  (0.0ms) begin transaction
350342
+  (0.1ms) SAVEPOINT active_record_1
350343
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350344
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350345
+  (0.1ms) SAVEPOINT active_record_1
350346
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350348
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350349
+ Subtask12 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
350350
+  (0.1ms) SAVEPOINT active_record_1
350351
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task12"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350352
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350353
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350354
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
350355
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350356
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350357
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350358
+ Subtask12 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
350359
+  (0.1ms) SAVEPOINT active_record_1
350360
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:39:28.410104' WHERE "subtasks"."id" = 1
350361
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350362
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350363
+  (0.0ms) SAVEPOINT active_record_1
350364
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350365
+  (0.0ms) SAVEPOINT active_record_1
350366
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350367
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350368
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350369
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350370
+ Subtask12 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350371
+  (0.6ms) rollback transaction
350372
+  (0.1ms) begin transaction
350373
+  (0.1ms) SAVEPOINT active_record_1
350374
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350376
+  (0.0ms) SAVEPOINT active_record_1
350377
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task13"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350378
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350379
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350380
+ Task13 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350381
+  (0.1ms) SAVEPOINT active_record_1
350382
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350384
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350385
+  (0.1ms) SAVEPOINT active_record_1
350386
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350387
+  (0.0ms) SAVEPOINT active_record_1
350388
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350389
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350390
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350391
+ Task13 Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350392
+ Subtask13 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 ORDER BY "subtasks"."id" DESC LIMIT 1
350393
+  (0.1ms) SAVEPOINT active_record_1
350394
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task13"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350396
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350397
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
350398
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350399
+ Task13 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350400
+ Subtask13 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
350401
+  (0.1ms) SAVEPOINT active_record_1
350402
+ SQL (0.2ms) UPDATE "subtasks" SET "task_id" = NULL WHERE "subtasks"."task_id" = 1 AND "subtasks"."id" IN (1)
350403
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350404
+  (0.0ms) SAVEPOINT active_record_1
350405
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350406
+  (0.0ms) SAVEPOINT active_record_1
350407
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
350408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350409
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350410
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
350411
+  (4.7ms) rollback transaction
350412
+  (0.1ms) begin transaction
350413
+  (0.1ms) SAVEPOINT active_record_1
350414
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350415
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350416
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350417
+  (0.0ms) SAVEPOINT active_record_1
350418
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>1, "parentable_type"=>"Task14"}]}}], ["moderatable_id", 1], ["moderatable_type", "Task14"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350420
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350421
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task14'
350422
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350423
+ Moderation Load (0.2ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350424
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350425
+  (0.1ms) SAVEPOINT active_record_1
350426
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["parentable_id", 1], ["parentable_type", "Task14"], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350428
+ Task14 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350429
+  (0.1ms) SAVEPOINT active_record_1
350430
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350431
+  (0.0ms) SAVEPOINT active_record_1
350432
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350434
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350435
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350436
+ Subtask14 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task14' LIMIT 1
350437
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350438
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350439
+  (0.5ms) rollback transaction
350440
+  (0.1ms) begin transaction
350441
+  (0.1ms) SAVEPOINT active_record_1
350442
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350443
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
350444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350445
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350446
+  (0.1ms) SAVEPOINT active_record_1
350447
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task15"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350449
+  (0.0ms) SAVEPOINT active_record_1
350450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350451
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350452
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
350453
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350454
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350455
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350456
+  (0.1ms) SAVEPOINT active_record_1
350457
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350459
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
350460
+  (0.0ms) SAVEPOINT active_record_1
350461
+  (0.1ms) UPDATE "subtasks" SET "parentable_id" = 1, "parentable_type" = 'Task15', "updated_at" = '2012-10-14 14:39:28.680898' WHERE "subtasks"."id" = 1
350462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350463
+  (0.0ms) SAVEPOINT active_record_1
350464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350465
+  (0.0ms) SAVEPOINT active_record_1
350466
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350468
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350469
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350470
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
350471
+ Task15 Load (47.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350472
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350473
+  (0.6ms) rollback transaction
350474
+  (0.1ms) begin transaction
350475
+  (0.1ms) SAVEPOINT active_record_1
350476
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350478
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350479
+  (0.0ms) SAVEPOINT active_record_1
350480
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task16"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350481
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350482
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
350483
+ Task16 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350484
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
350485
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350486
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350487
+ Task16 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350488
+  (0.1ms) SAVEPOINT active_record_1
350489
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350490
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
350491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350492
+ Task16 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350493
+  (0.0ms) SAVEPOINT active_record_1
350494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350495
+  (0.0ms) SAVEPOINT active_record_1
350496
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350498
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350499
+ Task16 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350500
+ Subtask16 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
350501
+  (0.6ms) rollback transaction
350502
+  (0.1ms) begin transaction
350503
+  (0.1ms) SAVEPOINT active_record_1
350504
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350506
+  (0.1ms) SAVEPOINT active_record_1
350507
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350509
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350510
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
350511
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
350512
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350513
+ Subtask17 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
350514
+  (0.0ms) SAVEPOINT active_record_1
350515
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task17"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350517
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350518
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350519
+ Task17 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350520
+ Subtask17 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
350521
+  (0.0ms) SAVEPOINT active_record_1
350522
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
350523
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350524
+  (0.0ms) SAVEPOINT active_record_1
350525
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350526
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350527
+  (0.0ms) SAVEPOINT active_record_1
350528
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350529
+  (0.0ms) SAVEPOINT active_record_1
350530
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350531
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350532
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350533
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350534
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
350535
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350536
+ Subtask17 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
350537
+  (0.6ms) rollback transaction
350538
+  (0.1ms) begin transaction
350539
+  (0.1ms) SAVEPOINT active_record_1
350540
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350542
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
350543
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350544
+ Subtask18 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
350545
+  (0.1ms) SAVEPOINT active_record_1
350546
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task18"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350547
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350548
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350549
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350550
+  (0.1ms) SAVEPOINT active_record_1
350551
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:28 UTC +00:00]]
350552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350553
+ Subtask18 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
350554
+  (0.0ms) SAVEPOINT active_record_1
350555
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
350556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350557
+  (0.0ms) SAVEPOINT active_record_1
350558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350559
+ Task18 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350560
+  (0.0ms) SAVEPOINT active_record_1
350561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350562
+  (0.0ms) SAVEPOINT active_record_1
350563
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350564
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350565
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350566
+ Task18 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350567
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
350568
+ Task18 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350569
+ Subtask18 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
350570
+  (0.6ms) rollback transaction
350571
+  (0.0ms) begin transaction
350572
+  (0.1ms) SAVEPOINT active_record_1
350573
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350575
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
350576
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350577
+ Subtask19 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
350578
+  (0.1ms) SAVEPOINT active_record_1
350579
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task19"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350580
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350581
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
350582
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350583
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350584
+  (0.0ms) SAVEPOINT active_record_1
350585
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350586
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350587
+ Subtask19 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
350588
+  (0.1ms) SAVEPOINT active_record_1
350589
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
350590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350591
+  (0.0ms) SAVEPOINT active_record_1
350592
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350593
+ Task19 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350594
+  (0.0ms) SAVEPOINT active_record_1
350595
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350596
+  (0.0ms) SAVEPOINT active_record_1
350597
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350598
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350599
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350600
+ Task19 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350601
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
350602
+ Task19 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350603
+ Subtask19 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
350604
+  (0.6ms) rollback transaction
350605
+  (0.1ms) begin transaction
350606
+  (0.1ms) SAVEPOINT active_record_1
350607
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350609
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350610
+  (0.1ms) SAVEPOINT active_record_1
350611
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"id"=>nil, "title"=>"Connection 1", "m1_id"=>nil, "m2_id"=>nil, "created_at"=>nil, "updated_at"=>nil, :associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}]}}], ["moderatable_id", 1], ["moderatable_type", "Task20"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350613
+  (0.0ms) SAVEPOINT active_record_1
350614
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350615
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
350616
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
350617
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350618
+ Task20 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350619
+  (0.1ms) SAVEPOINT active_record_1
350620
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350622
+  (0.0ms) SAVEPOINT active_record_1
350623
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350625
+ Task20 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350626
+  (0.0ms) SAVEPOINT active_record_1
350627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350628
+  (0.0ms) SAVEPOINT active_record_1
350629
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350630
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350631
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350632
+ Task20 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350633
+ Subtask20 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
350634
+ Subtask20 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
350635
+ TaskConnection20 Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1 LIMIT 1
350636
+ Subtask20 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
350637
+ Task20 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350638
+  (0.6ms) rollback transaction
350639
+  (0.1ms) begin transaction
350640
+  (0.1ms) SAVEPOINT active_record_1
350641
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350643
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350644
+  (0.1ms) SAVEPOINT active_record_1
350645
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task21"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350647
+  (0.0ms) SAVEPOINT active_record_1
350648
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350649
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
350650
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
350651
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350652
+ Task21 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350653
+  (0.1ms) SAVEPOINT active_record_1
350654
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350655
+ SQL (0.4ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350657
+ Task21 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350658
+  (0.1ms) SAVEPOINT active_record_1
350659
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350660
+  (0.0ms) SAVEPOINT active_record_1
350661
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350662
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350663
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350664
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
350665
+ Task21 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350666
+ Subtask21 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
350667
+  (0.6ms) rollback transaction
350668
+  (0.1ms) begin transaction
350669
+  (0.1ms) SAVEPOINT active_record_1
350670
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350671
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350672
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350673
+  (0.0ms) SAVEPOINT active_record_1
350674
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task22"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350676
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
350677
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
350678
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350679
+ Task22 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350680
+  (0.1ms) SAVEPOINT active_record_1
350681
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350682
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350683
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350684
+ Task22 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350685
+  (0.0ms) SAVEPOINT active_record_1
350686
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350687
+  (0.0ms) SAVEPOINT active_record_1
350688
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350690
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350691
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
350692
+ Task22 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350693
+ Subtask22 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
350694
+  (0.6ms) rollback transaction
350695
+  (0.1ms) begin transaction
350696
+  (0.1ms) SAVEPOINT active_record_1
350697
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350698
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task23"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350699
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350700
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
350701
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350702
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350703
+  (0.2ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
350704
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
350705
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350706
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350707
+  (0.1ms) SAVEPOINT active_record_1
350708
+ SQL (0.6ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350709
+ SQL (0.4ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350711
+ Task23 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350712
+  (0.0ms) SAVEPOINT active_record_1
350713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350714
+  (0.0ms) SAVEPOINT active_record_1
350715
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350717
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350718
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
350719
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350720
+ Subtask23 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
350721
+  (0.6ms) rollback transaction
350722
+  (0.1ms) begin transaction
350723
+  (0.1ms) SAVEPOINT active_record_1
350724
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350725
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350727
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350728
+  (0.1ms) SAVEPOINT active_record_1
350729
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task24"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350731
+  (0.0ms) SAVEPOINT active_record_1
350732
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350733
+ Task24 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350734
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350735
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
350736
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350737
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350738
+ Task24 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350739
+  (0.1ms) SAVEPOINT active_record_1
350740
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350741
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350742
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350743
+  (0.0ms) SAVEPOINT active_record_1
350744
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:39:29.652684' WHERE "subtasks"."id" = 1
350745
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350746
+  (0.0ms) SAVEPOINT active_record_1
350747
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350748
+  (0.0ms) SAVEPOINT active_record_1
350749
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350751
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350752
+ Task24 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350753
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350754
+  (0.6ms) rollback transaction
350755
+  (0.1ms) begin transaction
350756
+  (0.1ms) SAVEPOINT active_record_1
350757
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350758
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350759
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350760
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350761
+  (0.1ms) SAVEPOINT active_record_1
350762
+ SQL (0.6ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350763
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350764
+  (0.1ms) SAVEPOINT active_record_1
350765
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task25"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350766
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350767
+  (0.0ms) SAVEPOINT active_record_1
350768
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350769
+ Task25 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350770
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350771
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350772
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350773
+ Task25 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350774
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
350775
+  (0.0ms) SAVEPOINT active_record_1
350776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350777
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350778
+  (0.0ms) SAVEPOINT active_record_1
350779
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:39:29.714195' WHERE "subtasks"."id" = 1
350780
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350781
+  (0.0ms) SAVEPOINT active_record_1
350782
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350783
+  (0.0ms) SAVEPOINT active_record_1
350784
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350785
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350786
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350787
+ Task25 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350788
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350789
+  (0.6ms) rollback transaction
350790
+  (0.1ms) begin transaction
350791
+  (0.1ms) SAVEPOINT active_record_1
350792
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350793
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350795
+  (0.1ms) SAVEPOINT active_record_1
350796
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task26"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350798
+  (0.0ms) SAVEPOINT active_record_1
350799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350800
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350801
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350802
+  (0.0ms) SAVEPOINT active_record_1
350803
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350805
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350806
+  (0.1ms) SAVEPOINT active_record_1
350807
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:39:29.825927' WHERE "subtasks"."id" = 1
350808
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350809
+  (0.0ms) SAVEPOINT active_record_1
350810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350811
+  (0.0ms) SAVEPOINT active_record_1
350812
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350814
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350815
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350816
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350817
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350818
+  (0.0ms) SAVEPOINT active_record_1
350819
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task26"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350820
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350821
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350822
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350823
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350824
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350825
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350826
+  (0.0ms) SAVEPOINT active_record_1
350827
+  (0.1ms) UPDATE "subtasks" SET "task_id" = NULL, "updated_at" = '2012-10-14 14:39:29.842162' WHERE "subtasks"."id" = 1
350828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350829
+  (0.0ms) SAVEPOINT active_record_1
350830
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350831
+  (0.0ms) SAVEPOINT active_record_1
350832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350833
+  (0.0ms) SAVEPOINT active_record_1
350834
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
350835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350836
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350837
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350838
+  (0.6ms) rollback transaction
350839
+  (0.0ms) begin transaction
350840
+  (0.1ms) SAVEPOINT active_record_1
350841
+ SQL (0.6ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350842
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350843
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
350844
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350845
+ Subtask27 Load (0.2ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
350846
+  (0.1ms) SAVEPOINT active_record_1
350847
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350848
+  (0.0ms) SAVEPOINT active_record_1
350849
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtask=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task27"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350850
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350851
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
350852
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
350853
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350854
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350855
+  (0.1ms) SAVEPOINT active_record_1
350856
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350857
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350858
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350859
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
350860
+  (0.1ms) SAVEPOINT active_record_1
350861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350862
+  (0.0ms) SAVEPOINT active_record_1
350863
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:39:29.902928' WHERE "subtasks"."id" = 1
350864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350865
+  (0.0ms) SAVEPOINT active_record_1
350866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350867
+  (0.0ms) SAVEPOINT active_record_1
350868
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350870
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350871
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
350872
+ Task27 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350873
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350874
+  (0.6ms) rollback transaction
350875
+  (0.1ms) begin transaction
350876
+  (0.1ms) SAVEPOINT active_record_1
350877
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350878
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350879
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
350880
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350881
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
350882
+  (0.1ms) SAVEPOINT active_record_1
350883
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350884
+  (0.0ms) SAVEPOINT active_record_1
350885
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtask=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task28"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350886
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350887
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
350888
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
350889
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350890
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350891
+  (0.0ms) SAVEPOINT active_record_1
350892
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350894
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
350895
+  (0.0ms) SAVEPOINT active_record_1
350896
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350897
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350898
+  (0.0ms) SAVEPOINT active_record_1
350899
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:39:29.960838' WHERE "subtasks"."id" = 1
350900
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350901
+  (0.0ms) SAVEPOINT active_record_1
350902
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350903
+  (0.0ms) SAVEPOINT active_record_1
350904
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350905
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350906
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350907
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
350908
+ Task28 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350909
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350910
+  (0.6ms) rollback transaction
350911
+  (0.1ms) begin transaction
350912
+  (0.1ms) SAVEPOINT active_record_1
350913
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{}}}], ["moderatable_id", nil], ["moderatable_type", "Task29"], ["updated_at", Sun, 14 Oct 2012 14:39:29 UTC +00:00]]
350914
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350915
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
350916
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
350917
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350918
+  (0.1ms) SAVEPOINT active_record_1
350919
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
350920
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350921
+  (0.0ms) SAVEPOINT active_record_1
350922
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350923
+  (0.0ms) SAVEPOINT active_record_1
350924
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350925
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350926
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
350927
+ Task29 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350928
+  (0.5ms) rollback transaction
350929
+  (0.1ms) begin transaction
350930
+  (0.1ms) SAVEPOINT active_record_1
350931
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}}], ["moderatable_id", nil], ["moderatable_type", "Task30"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
350932
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350933
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
350934
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350935
+  (0.0ms) SAVEPOINT active_record_1
350936
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
350937
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350938
+  (0.1ms) SAVEPOINT active_record_1
350939
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
350940
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350941
+ Task30 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350942
+  (0.0ms) SAVEPOINT active_record_1
350943
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350944
+  (0.0ms) SAVEPOINT active_record_1
350945
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350946
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350947
+ Task30 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350948
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
350949
+ Task30 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350950
+ Subtask30 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
350951
+  (0.6ms) rollback transaction
350952
+  (0.1ms) begin transaction
350953
+  (0.1ms) SAVEPOINT active_record_1
350954
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{}}}], ["moderatable_id", nil], ["moderatable_type", "Task31"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
350955
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350956
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350957
+  (0.0ms) SAVEPOINT active_record_1
350958
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
350959
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350960
+  (0.0ms) SAVEPOINT active_record_1
350961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350962
+  (0.0ms) SAVEPOINT active_record_1
350963
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350964
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350965
+ Task31 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350966
+  (0.2ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
350967
+  (0.6ms) rollback transaction
350968
+  (0.0ms) begin transaction
350969
+  (0.1ms) SAVEPOINT active_record_1
350970
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
350971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350972
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
350973
+ Task32 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350974
+  (0.0ms) SAVEPOINT active_record_1
350975
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:destroy=>true}], ["moderatable_id", 1], ["moderatable_type", "Task32"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
350976
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350977
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
350978
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350979
+ Task32 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350980
+  (0.0ms) SAVEPOINT active_record_1
350981
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" WHERE "moderations"."moderatable_id" = 1 AND "moderations"."moderatable_type" = 'Task32'
350982
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350983
+ SQL (0.1ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 1]]
350984
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350985
+  (0.0ms) SAVEPOINT active_record_1
350986
+ SQL (0.0ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350987
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350988
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
350989
+  (0.5ms) rollback transaction
350990
+  (0.1ms) begin transaction
350991
+  (0.1ms) SAVEPOINT active_record_1
350992
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", "Description"], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
350993
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task33"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
350994
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350995
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350996
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
350997
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350998
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350999
+  (0.0ms) SAVEPOINT active_record_1
351000
+  (0.4ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:39:30.229301' WHERE "tasks"."id" = 1
351001
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351002
+  (0.0ms) SAVEPOINT active_record_1
351003
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
351004
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351005
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
351006
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
351007
+  (0.0ms) SAVEPOINT active_record_1
351008
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 2"}}], ["moderatable_id", 1], ["moderatable_type", "Task33"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351010
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
351011
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351012
+ Task33 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
351013
+  (0.0ms) SAVEPOINT active_record_1
351014
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 2', "updated_at" = '2012-10-14 14:39:30.298811' WHERE "tasks"."id" = 1
351015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351016
+  (0.0ms) SAVEPOINT active_record_1
351017
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
351018
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351019
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
351020
+  (0.5ms) rollback transaction
351021
+  (0.1ms) begin transaction
351022
+  (0.1ms) SAVEPOINT active_record_1
351023
+ Task34 Exists (0.2ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
351024
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
351025
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351026
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task34"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351028
+  (0.0ms) SAVEPOINT active_record_1
351029
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
351030
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
351031
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351032
+ SQL (0.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 2], ["moderatable_type", "Task34"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351034
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" LIMIT 1
351035
+ Task34 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
351036
+  (0.1ms) SAVEPOINT active_record_1
351037
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 1) LIMIT 1
351038
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 1) LIMIT 1
351039
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:39:30.349963' WHERE "tasks"."id" = 1
351040
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351041
+  (0.0ms) SAVEPOINT active_record_1
351042
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
351043
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351044
+  (0.0ms) SAVEPOINT active_record_1
351045
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
351046
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
351047
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" LIMIT 1
351048
+ Task34 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 2 LIMIT 1
351049
+  (0.0ms) SAVEPOINT active_record_1
351050
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 2) LIMIT 1
351051
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
351052
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" LIMIT 1
351053
+ Task34 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 2 LIMIT 1
351054
+  (0.0ms) SAVEPOINT active_record_1
351055
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 2) LIMIT 1
351056
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
351057
+  (0.6ms) rollback transaction
351058
+  (0.1ms) begin transaction
351059
+  (0.1ms) SAVEPOINT active_record_1
351060
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:create=>{:attributes=>{:test=>"ok"}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Task35"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351061
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351062
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351063
+  (0.5ms) rollback transaction
351064
+  (0.1ms) begin transaction
351065
+  (0.1ms) SAVEPOINT active_record_1
351066
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Task36"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351067
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351068
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351069
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351070
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351071
+  (0.5ms) rollback transaction
351072
+  (0.1ms) begin transaction
351073
+  (0.1ms) SAVEPOINT active_record_1
351074
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351075
+  (56.3ms) RELEASE SAVEPOINT active_record_1
351076
+ Task37 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
351077
+  (0.0ms) SAVEPOINT active_record_1
351078
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:destroy=>true}], ["moderatable_id", 1], ["moderatable_type", "Task37"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351080
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351081
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351082
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351083
+  (0.5ms) rollback transaction
351084
+  (0.1ms) begin transaction
351085
+  (0.1ms) SAVEPOINT active_record_1
351086
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>nil, "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Task38"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351088
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351089
+  (0.5ms) rollback transaction
351090
+  (0.1ms) begin transaction
351091
+  (0.1ms) SAVEPOINT active_record_1
351092
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351093
+ SQL (0.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", "Test!"], ["moderatable_id", 1], ["moderatable_type", "Task39"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351094
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351095
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
351096
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351097
+  (0.6ms) rollback transaction
351098
+  (0.1ms) begin transaction
351099
+  (0.1ms) SAVEPOINT active_record_1
351100
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351101
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task40"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351102
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351103
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
351104
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
351105
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351106
+  (0.0ms) SAVEPOINT active_record_1
351107
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
351108
+  (0.4ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:39:30.617838' WHERE "tasks"."id" = 1
351109
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
351110
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
351111
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
351112
+  (0.5ms) rollback transaction
351113
+  (0.1ms) begin transaction
351114
+  (0.1ms) SAVEPOINT active_record_1
351115
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351116
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task41"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351117
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351118
+ Task41 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
351119
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351120
+  (0.0ms) SAVEPOINT active_record_1
351121
+ Task41 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
351122
+  (0.4ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:39:30.657480' WHERE "tasks"."id" = 1
351123
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
351124
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
351125
+ Task41 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
351126
+ Task41 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
351127
+  (0.5ms) rollback transaction
351128
+  (0.0ms) begin transaction
351129
+  (0.1ms) SAVEPOINT active_record_1
351130
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351131
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task42"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351133
+ Task42 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
351134
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351135
+  (0.0ms) SAVEPOINT active_record_1
351136
+ Task42 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
351137
+  (0.4ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:39:30.697460' WHERE "tasks"."id" = 1
351138
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
351139
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
351140
+  (0.6ms) rollback transaction
351141
+  (0.0ms) begin transaction
351142
+  (0.1ms) SAVEPOINT active_record_1
351143
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351144
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task43"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351145
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351146
+ Task43 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
351147
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351148
+  (0.0ms) SAVEPOINT active_record_1
351149
+ Task43 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
351150
+  (0.4ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:39:30.794222' WHERE "tasks"."id" = 1
351151
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
351152
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
351153
+  (0.0ms) SAVEPOINT active_record_1
351154
+  (0.1ms) UPDATE "moderations" SET "data" = '---
351155
+ :attributes:
351156
+ title: Task 2
351157
+ ', "updated_at" = '2012-10-14 14:39:30.797656' WHERE "moderations"."id" = 1
351158
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351159
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351160
+ Task43 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
351161
+  (0.0ms) SAVEPOINT active_record_1
351162
+  (0.2ms) UPDATE "tasks" SET "title" = 'Task 2', "updated_at" = '2012-10-14 14:39:30.804581' WHERE "tasks"."id" = 1
351163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351164
+  (0.0ms) SAVEPOINT active_record_1
351165
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
351166
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351167
+ Task43 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
351168
+  (0.5ms) rollback transaction
351169
+  (0.1ms) begin transaction
351170
+  (0.1ms) SAVEPOINT active_record_1
351171
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351172
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task44"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351174
+ Task44 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
351175
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351176
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351177
+  (0.1ms) SAVEPOINT active_record_1
351178
+ Task44 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
351179
+  (0.3ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:39:30.841127' WHERE "tasks"."id" = 1
351180
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
351181
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
351182
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351183
+ Task44 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
351184
+  (0.1ms) SAVEPOINT active_record_1
351185
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:39:30.850398' WHERE "tasks"."id" = 1
351186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351187
+  (0.0ms) SAVEPOINT active_record_1
351188
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
351189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351190
+ Task44 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
351191
+  (0.5ms) rollback transaction
351192
+  (0.1ms) begin transaction
351193
+  (0.1ms) SAVEPOINT active_record_1
351194
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351195
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351196
+  (0.0ms) SAVEPOINT active_record_1
351197
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task45"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351199
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351200
+  (0.0ms) SAVEPOINT active_record_1
351201
+ Task45 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
351202
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:30 UTC +00:00]]
351203
+ Task45 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
351204
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
351205
+ Subtask45 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1
351206
+ Task45 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
351207
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
351208
+ Task45 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
351209
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
351210
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
351211
+  (0.5ms) rollback transaction
351212
+  (0.1ms) begin transaction
351213
+  (0.1ms) SAVEPOINT active_record_1
351214
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:31 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:39:31 UTC +00:00]]
351215
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351216
+  (0.1ms) SAVEPOINT active_record_1
351217
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:31 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"id"=>nil, "title"=>"Connection 1", "m1_id"=>nil, "m2_id"=>nil, "created_at"=>nil, "updated_at"=>nil, :associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}]}}], ["moderatable_id", 1], ["moderatable_type", "Task46"], ["updated_at", Sun, 14 Oct 2012 14:39:31 UTC +00:00]]
351218
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351219
+  (0.0ms) SAVEPOINT active_record_1
351220
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351221
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
351222
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
351223
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
351224
+  (0.0ms) SAVEPOINT active_record_1
351225
+ Task46 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
351226
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:31 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:39:31 UTC +00:00]]
351227
+ SQL (0.2ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:39:31 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 14 Oct 2012 14:39:31 UTC +00:00]]
351228
+ Task46 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
351229
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
351230
+ TaskConnection46 Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m1_id" = 1
351231
+ Task46 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
351232
+ Subtask46 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
351233
+ TaskConnection46 Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1
351234
+ Task46 Load (0.1ms) SELECT "tasks".* FROM "tasks" INNER JOIN "task_connections" ON "tasks"."id" = "task_connections"."m1_id" WHERE "task_connections"."m2_id" = 1
351235
+ Subtask46 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
351236
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
351237
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
351238
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
351239
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
351240
+  (0.6ms) rollback transaction