has_moderated 1.0.beta2 → 1.0.rc1

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.
@@ -248223,3 +248223,2477 @@ Migrating to CreatePhotos (20120520215224)
248223
248223
  Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248224
248224
  Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248225
248225
   (0.8ms) rollback transaction
248226
+  (0.2ms) begin transaction
248227
+  (0.1ms) SAVEPOINT active_record_1
248228
+ SQL (4.8ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248229
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248230
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248231
+  (0.0ms) SAVEPOINT active_record_1
248232
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>1, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248233
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248234
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248235
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248236
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248237
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248238
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248239
+  (0.1ms) SAVEPOINT active_record_1
248240
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248242
+  (0.0ms) SAVEPOINT active_record_1
248243
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248244
+  (0.0ms) SAVEPOINT active_record_1
248245
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248247
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248248
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248249
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248250
+  (0.8ms) rollback transaction
248251
+  (0.1ms) begin transaction
248252
+  (0.1ms) SAVEPOINT active_record_1
248253
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248254
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248255
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248256
+  (0.1ms) SAVEPOINT active_record_1
248257
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>1, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248259
+  (0.0ms) SAVEPOINT active_record_1
248260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248261
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248262
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248263
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248264
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248265
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248266
+  (0.1ms) SAVEPOINT active_record_1
248267
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248268
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248269
+  (0.0ms) SAVEPOINT active_record_1
248270
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248271
+  (0.0ms) SAVEPOINT active_record_1
248272
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248274
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248275
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248276
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248277
+  (0.8ms) rollback transaction
248278
+  (0.1ms) begin transaction
248279
+  (0.1ms) SAVEPOINT active_record_1
248280
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248282
+  (0.1ms) SAVEPOINT active_record_1
248283
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248285
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248286
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
248287
+  (0.1ms) SAVEPOINT active_record_1
248288
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248289
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248290
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248291
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248292
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248293
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248294
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248295
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
248296
+  (0.1ms) SAVEPOINT active_record_1
248297
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:06:38.316229', "task_id" = 1 WHERE "subtasks"."id" = 1
248298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248299
+  (0.0ms) SAVEPOINT active_record_1
248300
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248301
+  (0.0ms) SAVEPOINT active_record_1
248302
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248303
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248304
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248305
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248306
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248307
+  (0.8ms) rollback transaction
248308
+  (0.1ms) begin transaction
248309
+  (0.1ms) SAVEPOINT active_record_1
248310
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248311
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248312
+  (0.1ms) SAVEPOINT active_record_1
248313
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248314
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248315
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248316
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
248317
+  (0.0ms) SAVEPOINT active_record_1
248318
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248320
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248321
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248322
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248323
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248324
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248325
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
248326
+  (0.1ms) SAVEPOINT active_record_1
248327
+  (0.2ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 23:06:38.369746' WHERE "subtasks"."id" = 1
248328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248329
+  (0.0ms) SAVEPOINT active_record_1
248330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248331
+  (0.0ms) SAVEPOINT active_record_1
248332
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248333
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248334
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248335
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248336
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248337
+  (0.8ms) rollback transaction
248338
+  (0.1ms) begin transaction
248339
+  (0.1ms) SAVEPOINT active_record_1
248340
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248342
+  (0.0ms) SAVEPOINT active_record_1
248343
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>1, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248344
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248345
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248346
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248347
+  (0.1ms) SAVEPOINT active_record_1
248348
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248349
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248350
+  (0.0ms) SAVEPOINT active_record_1
248351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248352
+  (0.0ms) SAVEPOINT active_record_1
248353
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248355
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248356
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248357
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 ORDER BY "subtasks"."id" DESC LIMIT 1
248358
+  (0.0ms) SAVEPOINT active_record_1
248359
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248360
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248361
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248362
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248363
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248364
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248365
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
248366
+  (0.0ms) SAVEPOINT active_record_1
248367
+ SQL (0.2ms) UPDATE "subtasks" SET "task_id" = NULL WHERE "subtasks"."task_id" = 1 AND "subtasks"."id" IN (1)
248368
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248369
+  (0.0ms) SAVEPOINT active_record_1
248370
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
248371
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248372
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248373
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248374
+  (0.6ms) rollback transaction
248375
+  (0.1ms) begin transaction
248376
+  (0.1ms) SAVEPOINT active_record_1
248377
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248378
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248379
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248380
+  (0.1ms) SAVEPOINT active_record_1
248381
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>"Task", "created_at"=>nil, "task_id"=>nil, "parentable_id"=>1, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248383
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248384
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task'
248385
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248386
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248387
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248388
+  (0.1ms) SAVEPOINT active_record_1
248389
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["parentable_id", 1], ["parentable_type", "Task"], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248390
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248391
+  (0.0ms) SAVEPOINT active_record_1
248392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248393
+  (0.0ms) SAVEPOINT active_record_1
248394
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248395
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248396
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248397
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248398
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
248399
+  (0.8ms) rollback transaction
248400
+  (0.1ms) begin transaction
248401
+  (0.1ms) SAVEPOINT active_record_1
248402
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248403
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
248404
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248405
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248406
+  (0.1ms) SAVEPOINT active_record_1
248407
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248409
+  (0.0ms) SAVEPOINT active_record_1
248410
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248411
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248412
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
248413
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248414
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248415
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248416
+  (0.1ms) SAVEPOINT active_record_1
248417
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248418
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248419
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
248420
+  (0.0ms) SAVEPOINT active_record_1
248421
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:06:38.632008', "parentable_id" = 1, "parentable_type" = 'Task' WHERE "subtasks"."id" = 1
248422
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248423
+  (0.0ms) SAVEPOINT active_record_1
248424
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248425
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248426
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248427
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248428
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
248429
+  (0.6ms) rollback transaction
248430
+  (0.1ms) begin transaction
248431
+  (0.1ms) SAVEPOINT active_record_1
248432
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248433
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248434
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248435
+  (0.0ms) SAVEPOINT active_record_1
248436
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248437
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248438
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
248439
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248440
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
248441
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248442
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248443
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248444
+  (0.1ms) SAVEPOINT active_record_1
248445
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248446
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
248447
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248448
+  (0.0ms) SAVEPOINT active_record_1
248449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248450
+  (0.0ms) SAVEPOINT active_record_1
248451
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248452
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248453
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248454
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248455
+ Subtask 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
248456
+  (0.8ms) rollback transaction
248457
+  (0.1ms) begin transaction
248458
+  (0.1ms) SAVEPOINT active_record_1
248459
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248461
+  (0.1ms) SAVEPOINT active_record_1
248462
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248463
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248464
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248465
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
248466
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
248467
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248468
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
248469
+  (0.1ms) SAVEPOINT active_record_1
248470
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248471
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248472
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248473
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248474
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248475
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
248476
+  (0.0ms) SAVEPOINT active_record_1
248477
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
248478
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248479
+  (0.0ms) SAVEPOINT active_record_1
248480
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248481
+  (0.0ms) SAVEPOINT active_record_1
248482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248483
+  (0.0ms) SAVEPOINT active_record_1
248484
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248486
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248487
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248488
+ Subtask 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
248489
+  (0.8ms) rollback transaction
248490
+  (0.1ms) begin transaction
248491
+  (0.1ms) SAVEPOINT active_record_1
248492
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248493
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248494
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248495
+  (0.1ms) SAVEPOINT active_record_1
248496
+ SQL (2.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"m1_id"=>nil, "created_at"=>nil, "title"=>"Connection 1", "updated_at"=>nil, "id"=>nil, :associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}, "m2_id"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248497
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248498
+  (0.0ms) SAVEPOINT active_record_1
248499
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248500
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
248501
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
248502
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248503
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248504
+  (0.1ms) SAVEPOINT active_record_1
248505
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248506
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248507
+  (0.0ms) SAVEPOINT active_record_1
248508
+ SQL (0.4ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248509
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248510
+  (0.0ms) SAVEPOINT active_record_1
248511
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248512
+  (0.0ms) SAVEPOINT active_record_1
248513
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248515
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248516
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248517
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
248518
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
248519
+ TaskConnection Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1 LIMIT 1
248520
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
248521
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248522
+  (0.8ms) rollback transaction
248523
+  (0.1ms) begin transaction
248524
+  (0.1ms) SAVEPOINT active_record_1
248525
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248526
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248527
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248528
+  (0.1ms) SAVEPOINT active_record_1
248529
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:38 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:38 UTC +00:00]]
248530
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248531
+  (0.1ms) SAVEPOINT active_record_1
248532
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248533
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
248534
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
248535
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248536
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248537
+  (0.1ms) SAVEPOINT active_record_1
248538
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248539
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248540
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248541
+  (0.0ms) SAVEPOINT active_record_1
248542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248543
+  (0.0ms) SAVEPOINT active_record_1
248544
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248545
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248546
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248547
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
248548
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248549
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
248550
+  (0.8ms) rollback transaction
248551
+  (0.1ms) begin transaction
248552
+  (0.1ms) SAVEPOINT active_record_1
248553
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248554
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248555
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248556
+  (0.0ms) SAVEPOINT active_record_1
248557
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248558
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248559
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
248560
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
248561
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248562
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248563
+  (0.1ms) SAVEPOINT active_record_1
248564
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248565
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248566
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248567
+  (0.0ms) SAVEPOINT active_record_1
248568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248569
+  (0.0ms) SAVEPOINT active_record_1
248570
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248571
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248572
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248573
+  (0.0ms) SELECT COUNT(*) FROM "subtasks"
248574
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248575
+ Subtask 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
248576
+  (0.8ms) rollback transaction
248577
+  (0.1ms) begin transaction
248578
+  (0.1ms) SAVEPOINT active_record_1
248579
+ SQL (1.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248580
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248581
+  (0.0ms) SAVEPOINT active_record_1
248582
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248583
+  (0.2ms) UPDATE "moderations" SET "updated_at" = '2012-05-20 23:06:39.194985', "moderatable_id" = 1 WHERE "moderations"."id" = 1
248584
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248585
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
248586
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248587
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
248588
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
248589
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248590
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248591
+  (0.1ms) SAVEPOINT active_record_1
248592
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248593
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248594
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248595
+  (0.0ms) SAVEPOINT active_record_1
248596
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248597
+  (0.0ms) SAVEPOINT active_record_1
248598
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248599
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248600
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248601
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
248602
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248603
+ Subtask 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
248604
+  (0.8ms) rollback transaction
248605
+  (0.2ms) begin transaction
248606
+  (0.1ms) SAVEPOINT active_record_1
248607
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248608
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248609
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248610
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248611
+  (0.1ms) SAVEPOINT active_record_1
248612
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248613
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248614
+  (0.0ms) SAVEPOINT active_record_1
248615
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248616
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248617
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248618
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
248619
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248620
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248621
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248622
+  (0.1ms) SAVEPOINT active_record_1
248623
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248624
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248625
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248626
+  (0.0ms) SAVEPOINT active_record_1
248627
+  (0.1ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:06:39.378503', "task_id" = 1 WHERE "subtasks"."id" = 1
248628
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248629
+  (0.0ms) SAVEPOINT active_record_1
248630
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248632
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248633
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248634
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248635
+  (0.8ms) rollback transaction
248636
+  (0.1ms) begin transaction
248637
+  (0.1ms) SAVEPOINT active_record_1
248638
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248639
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248640
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248641
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248642
+  (0.1ms) SAVEPOINT active_record_1
248643
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248645
+  (0.1ms) SAVEPOINT active_record_1
248646
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248648
+  (0.0ms) SAVEPOINT active_record_1
248649
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248650
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248651
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248652
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248653
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248654
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248655
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
248656
+  (0.0ms) SAVEPOINT active_record_1
248657
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248658
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248659
+  (0.0ms) SAVEPOINT active_record_1
248660
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:06:39.431511', "task_id" = 1 WHERE "subtasks"."id" = 1
248661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248662
+  (0.0ms) SAVEPOINT active_record_1
248663
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248664
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248665
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248666
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248667
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248668
+  (0.6ms) rollback transaction
248669
+  (0.1ms) begin transaction
248670
+  (0.1ms) SAVEPOINT active_record_1
248671
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248672
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248673
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248674
+  (0.1ms) SAVEPOINT active_record_1
248675
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248676
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248677
+  (0.0ms) SAVEPOINT active_record_1
248678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248679
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248680
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248681
+  (0.1ms) SAVEPOINT active_record_1
248682
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248683
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248684
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248685
+  (0.0ms) SAVEPOINT active_record_1
248686
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:06:39.481060', "task_id" = 1 WHERE "subtasks"."id" = 1
248687
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248688
+  (0.1ms) SAVEPOINT active_record_1
248689
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248690
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248691
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248692
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248693
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248694
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248695
+  (0.1ms) SAVEPOINT active_record_1
248696
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248697
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248698
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248699
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248700
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248701
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248702
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248703
+  (0.0ms) SAVEPOINT active_record_1
248704
+  (0.2ms) UPDATE "subtasks" SET "task_id" = NULL, "updated_at" = '2012-05-20 23:06:39.499550' WHERE "subtasks"."id" = 1
248705
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248706
+  (0.0ms) SAVEPOINT active_record_1
248707
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248708
+  (0.0ms) SAVEPOINT active_record_1
248709
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
248710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248711
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248712
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248713
+  (0.8ms) rollback transaction
248714
+  (0.1ms) begin transaction
248715
+  (0.1ms) SAVEPOINT active_record_1
248716
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", {:create=>{:associations=>{}, :attributes=>{"created_at"=>nil, "title"=>"Task 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248718
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248719
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
248720
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248721
+  (0.0ms) SAVEPOINT active_record_1
248722
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248724
+  (0.0ms) SAVEPOINT active_record_1
248725
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248726
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248727
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
248728
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248729
+  (0.8ms) rollback transaction
248730
+  (0.1ms) begin transaction
248731
+  (0.1ms) SAVEPOINT active_record_1
248732
+ SQL (2.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", {:create=>{:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}, :attributes=>{"created_at"=>nil, "title"=>"Task 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248733
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248734
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
248735
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248736
+  (0.0ms) SAVEPOINT active_record_1
248737
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248739
+  (0.1ms) SAVEPOINT active_record_1
248740
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248741
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248742
+  (0.0ms) SAVEPOINT active_record_1
248743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248744
+  (0.0ms) SAVEPOINT active_record_1
248745
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248746
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248747
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248748
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248749
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248750
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248751
+  (0.8ms) rollback transaction
248752
+  (0.1ms) begin transaction
248753
+  (0.1ms) SAVEPOINT active_record_1
248754
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248756
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
248757
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248758
+  (0.1ms) SAVEPOINT active_record_1
248759
+ SQL (0.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", :destroy], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248760
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248761
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
248762
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248763
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248764
+  (0.0ms) SAVEPOINT active_record_1
248765
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" WHERE "moderations"."moderatable_id" = 1 AND "moderations"."moderatable_type" = 'Task'
248766
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248767
+ SQL (0.1ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 1]]
248768
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248769
+  (0.0ms) SAVEPOINT active_record_1
248770
+ SQL (0.0ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248772
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
248773
+  (0.7ms) rollback transaction
248774
+  (0.1ms) begin transaction
248775
+  (0.1ms) SAVEPOINT active_record_1
248776
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248777
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248778
+  (0.1ms) UPDATE "moderations" SET "updated_at" = '2012-05-20 23:06:39.743020', "moderatable_id" = 1 WHERE "moderations"."id" = 1
248779
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248780
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248781
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248782
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248783
+  (0.0ms) SAVEPOINT active_record_1
248784
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-05-20 23:06:39.749145' WHERE "tasks"."id" = 1
248785
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248786
+  (0.0ms) SAVEPOINT active_record_1
248787
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248788
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248789
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248790
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248791
+  (0.0ms) SAVEPOINT active_record_1
248792
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 2"}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248793
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248794
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248795
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248796
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248797
+  (0.1ms) SAVEPOINT active_record_1
248798
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 2', "updated_at" = '2012-05-20 23:06:39.761551' WHERE "tasks"."id" = 1
248799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248800
+  (0.0ms) SAVEPOINT active_record_1
248801
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
248802
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248803
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248804
+  (0.7ms) rollback transaction
248805
+  (0.1ms) begin transaction
248806
+  (0.1ms) SAVEPOINT active_record_1
248807
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", {:create=>{:associations=>nil, :attributes=>{:test=>"ok"}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248808
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248809
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248810
+  (0.7ms) rollback transaction
248811
+  (0.1ms) begin transaction
248812
+  (0.1ms) SAVEPOINT active_record_1
248813
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", {:create=>{:associations=>nil, :attributes=>{:test=>"ok"}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248814
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248815
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248816
+  (0.7ms) rollback transaction
248817
+  (0.1ms) begin transaction
248818
+  (0.1ms) SAVEPOINT active_record_1
248819
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", "Test!"], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248820
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248821
+  (0.1ms) UPDATE "moderations" SET "updated_at" = '2012-05-20 23:06:39.928964', "moderatable_id" = 1 WHERE "moderations"."id" = 1
248822
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248823
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248824
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248825
+  (0.7ms) rollback transaction
248826
+  (0.1ms) begin transaction
248827
+  (0.1ms) SAVEPOINT active_record_1
248828
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248829
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:06:39 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 23:06:39 UTC +00:00]]
248830
+  (0.1ms) UPDATE "moderations" SET "updated_at" = '2012-05-20 23:06:39.955116', "moderatable_id" = 1 WHERE "moderations"."id" = 1
248831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248832
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248833
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248834
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248835
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248836
+  (0.9ms) rollback transaction
248837
+  (0.2ms) begin transaction
248838
+  (0.1ms) SAVEPOINT active_record_1
248839
+ SQL (5.0ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248840
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248841
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248842
+  (0.1ms) SAVEPOINT active_record_1
248843
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>1, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248844
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248845
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248846
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248847
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248848
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248849
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248850
+  (0.1ms) SAVEPOINT active_record_1
248851
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248852
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248853
+  (0.0ms) SAVEPOINT active_record_1
248854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248855
+  (0.0ms) SAVEPOINT active_record_1
248856
+ SQL (0.2ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248857
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248858
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248859
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248860
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248861
+  (0.8ms) rollback transaction
248862
+  (0.1ms) begin transaction
248863
+  (0.1ms) SAVEPOINT active_record_1
248864
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248866
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248867
+  (0.1ms) SAVEPOINT active_record_1
248868
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>1, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248870
+  (0.0ms) SAVEPOINT active_record_1
248871
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248872
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248873
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248874
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248875
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248876
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248877
+  (0.1ms) SAVEPOINT active_record_1
248878
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248880
+  (0.0ms) SAVEPOINT active_record_1
248881
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248882
+  (0.0ms) SAVEPOINT active_record_1
248883
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248884
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248885
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248886
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248887
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248888
+  (0.8ms) rollback transaction
248889
+  (0.1ms) begin transaction
248890
+  (0.1ms) SAVEPOINT active_record_1
248891
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248893
+  (0.1ms) SAVEPOINT active_record_1
248894
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248895
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248896
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248897
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
248898
+  (0.1ms) SAVEPOINT active_record_1
248899
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248900
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248901
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248902
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248903
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248904
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248905
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248906
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
248907
+  (0.1ms) SAVEPOINT active_record_1
248908
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:07:50.485926', "task_id" = 1 WHERE "subtasks"."id" = 1
248909
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248910
+  (0.0ms) SAVEPOINT active_record_1
248911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248912
+  (0.0ms) SAVEPOINT active_record_1
248913
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248915
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248916
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248917
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248918
+  (0.8ms) rollback transaction
248919
+  (0.1ms) begin transaction
248920
+  (0.1ms) SAVEPOINT active_record_1
248921
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248922
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248923
+  (0.1ms) SAVEPOINT active_record_1
248924
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248925
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248926
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248927
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
248928
+  (0.0ms) SAVEPOINT active_record_1
248929
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248930
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248931
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248932
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248933
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248934
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248935
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248936
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
248937
+  (0.1ms) SAVEPOINT active_record_1
248938
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:07:50.540951', "task_id" = 1 WHERE "subtasks"."id" = 1
248939
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248940
+  (0.0ms) SAVEPOINT active_record_1
248941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248942
+  (0.0ms) SAVEPOINT active_record_1
248943
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248944
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248945
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248946
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248947
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248948
+  (0.8ms) rollback transaction
248949
+  (0.1ms) begin transaction
248950
+  (0.1ms) SAVEPOINT active_record_1
248951
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248952
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248953
+  (0.0ms) SAVEPOINT active_record_1
248954
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>1, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248955
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248956
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248957
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248958
+  (0.1ms) SAVEPOINT active_record_1
248959
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248960
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248961
+  (0.0ms) SAVEPOINT active_record_1
248962
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248963
+  (0.0ms) SAVEPOINT active_record_1
248964
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248965
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248966
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248967
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248968
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 ORDER BY "subtasks"."id" DESC LIMIT 1
248969
+  (0.0ms) SAVEPOINT active_record_1
248970
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248972
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248973
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248974
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248975
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248976
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
248977
+  (0.0ms) SAVEPOINT active_record_1
248978
+ SQL (0.2ms) UPDATE "subtasks" SET "task_id" = NULL WHERE "subtasks"."task_id" = 1 AND "subtasks"."id" IN (1)
248979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248980
+  (0.0ms) SAVEPOINT active_record_1
248981
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
248982
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248983
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248984
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248985
+  (0.8ms) rollback transaction
248986
+  (0.1ms) begin transaction
248987
+  (0.1ms) SAVEPOINT active_record_1
248988
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248990
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248991
+  (0.0ms) SAVEPOINT active_record_1
248992
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>"Task", "created_at"=>nil, "task_id"=>nil, "parentable_id"=>1, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
248993
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248994
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248995
+  (0.2ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task'
248996
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248997
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248998
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248999
+  (0.1ms) SAVEPOINT active_record_1
249000
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["parentable_id", 1], ["parentable_type", "Task"], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
249001
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249002
+  (0.0ms) SAVEPOINT active_record_1
249003
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249004
+  (0.0ms) SAVEPOINT active_record_1
249005
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249007
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249008
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249009
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
249010
+  (0.8ms) rollback transaction
249011
+  (0.1ms) begin transaction
249012
+  (0.1ms) SAVEPOINT active_record_1
249013
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
249014
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
249015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249016
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249017
+  (0.1ms) SAVEPOINT active_record_1
249018
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
249019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249020
+  (0.0ms) SAVEPOINT active_record_1
249021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249022
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249023
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
249024
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249025
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249026
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249027
+  (0.1ms) SAVEPOINT active_record_1
249028
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
249029
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249030
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
249031
+  (0.0ms) SAVEPOINT active_record_1
249032
+  (0.1ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:07:50.812793', "parentable_type" = 'Task', "parentable_id" = 1 WHERE "subtasks"."id" = 1
249033
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249034
+  (0.0ms) SAVEPOINT active_record_1
249035
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249037
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249038
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249039
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
249040
+  (0.8ms) rollback transaction
249041
+  (0.1ms) begin transaction
249042
+  (0.1ms) SAVEPOINT active_record_1
249043
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
249044
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249045
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249046
+  (0.0ms) SAVEPOINT active_record_1
249047
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
249048
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249049
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
249050
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249051
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
249052
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249053
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249054
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249055
+  (0.1ms) SAVEPOINT active_record_1
249056
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
249057
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
249058
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249059
+  (0.0ms) SAVEPOINT active_record_1
249060
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249061
+  (0.0ms) SAVEPOINT active_record_1
249062
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249063
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249064
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249065
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249066
+ Subtask 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
249067
+  (0.8ms) rollback transaction
249068
+  (0.1ms) begin transaction
249069
+  (0.1ms) SAVEPOINT active_record_1
249070
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
249071
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249072
+  (0.1ms) SAVEPOINT active_record_1
249073
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
249074
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249075
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249076
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
249077
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
249078
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249079
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
249080
+  (0.1ms) SAVEPOINT active_record_1
249081
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:50 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:50 UTC +00:00]]
249082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249083
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249084
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249085
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249086
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
249087
+  (0.1ms) SAVEPOINT active_record_1
249088
+  (0.1ms) INSERT INTO "tasks_jointable" ("m1_id", "m2_id") VALUES (1, 1)
249089
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249090
+  (0.0ms) SAVEPOINT active_record_1
249091
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249092
+  (0.0ms) SAVEPOINT active_record_1
249093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249094
+  (0.0ms) SAVEPOINT active_record_1
249095
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249096
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249097
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249098
+ Task Load (2.6ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249099
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
249100
+  (0.9ms) rollback transaction
249101
+  (0.1ms) begin transaction
249102
+  (0.1ms) SAVEPOINT active_record_1
249103
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249104
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249105
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249106
+  (0.1ms) SAVEPOINT active_record_1
249107
+ SQL (2.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"m1_id"=>nil, :associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}, "created_at"=>nil, "title"=>"Connection 1", "updated_at"=>nil, "id"=>nil, "m2_id"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249108
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249109
+  (0.0ms) SAVEPOINT active_record_1
249110
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249111
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
249112
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
249113
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249114
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249115
+  (0.1ms) SAVEPOINT active_record_1
249116
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249117
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249118
+  (0.0ms) SAVEPOINT active_record_1
249119
+ SQL (0.4ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249120
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249121
+  (0.0ms) SAVEPOINT active_record_1
249122
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249123
+  (0.0ms) SAVEPOINT active_record_1
249124
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249125
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249126
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249127
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249128
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
249129
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
249130
+ TaskConnection Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1 LIMIT 1
249131
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
249132
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249133
+  (0.8ms) rollback transaction
249134
+  (0.1ms) begin transaction
249135
+  (0.1ms) SAVEPOINT active_record_1
249136
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249137
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249138
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249139
+  (0.1ms) SAVEPOINT active_record_1
249140
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249141
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249142
+  (0.0ms) SAVEPOINT active_record_1
249143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249144
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
249145
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
249146
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249147
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249148
+  (0.1ms) SAVEPOINT active_record_1
249149
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249150
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249151
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249152
+  (0.0ms) SAVEPOINT active_record_1
249153
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249154
+  (0.0ms) SAVEPOINT active_record_1
249155
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249157
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249158
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
249159
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249160
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
249161
+  (0.8ms) rollback transaction
249162
+  (0.1ms) begin transaction
249163
+  (0.2ms) SAVEPOINT active_record_1
249164
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249165
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249166
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249167
+  (0.0ms) SAVEPOINT active_record_1
249168
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249169
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249170
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
249171
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
249172
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249173
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249174
+  (0.1ms) SAVEPOINT active_record_1
249175
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249176
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249177
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249178
+  (0.0ms) SAVEPOINT active_record_1
249179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249180
+  (0.0ms) SAVEPOINT active_record_1
249181
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249183
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249184
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
249185
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249186
+ Subtask 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
249187
+  (0.8ms) rollback transaction
249188
+  (0.1ms) begin transaction
249189
+  (0.1ms) SAVEPOINT active_record_1
249190
+ SQL (1.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249191
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249192
+  (0.0ms) SAVEPOINT active_record_1
249193
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249194
+  (0.2ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 23:07:51.390682' WHERE "moderations"."id" = 1
249195
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249196
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
249197
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249198
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
249199
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
249200
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249201
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249202
+  (0.1ms) SAVEPOINT active_record_1
249203
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249204
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249206
+  (0.0ms) SAVEPOINT active_record_1
249207
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249208
+  (0.0ms) SAVEPOINT active_record_1
249209
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249211
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249212
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
249213
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249214
+ Subtask 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
249215
+  (0.8ms) rollback transaction
249216
+  (0.1ms) begin transaction
249217
+  (0.1ms) SAVEPOINT active_record_1
249218
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249219
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249221
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249222
+  (0.1ms) SAVEPOINT active_record_1
249223
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249224
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249225
+  (0.0ms) SAVEPOINT active_record_1
249226
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249227
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249228
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249229
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
249230
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249231
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249232
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249233
+  (0.1ms) SAVEPOINT active_record_1
249234
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249236
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249237
+  (0.0ms) SAVEPOINT active_record_1
249238
+  (0.1ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:07:51.594746', "task_id" = 1 WHERE "subtasks"."id" = 1
249239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249240
+  (0.0ms) SAVEPOINT active_record_1
249241
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249242
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249243
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249244
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249245
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249246
+  (0.8ms) rollback transaction
249247
+  (0.1ms) begin transaction
249248
+  (0.1ms) SAVEPOINT active_record_1
249249
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249250
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249252
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249253
+  (0.1ms) SAVEPOINT active_record_1
249254
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249255
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249256
+  (0.1ms) SAVEPOINT active_record_1
249257
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249259
+  (0.0ms) SAVEPOINT active_record_1
249260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249261
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249262
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249263
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249264
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249265
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249266
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
249267
+  (0.0ms) SAVEPOINT active_record_1
249268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249269
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249270
+  (0.0ms) SAVEPOINT active_record_1
249271
+  (0.2ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 23:07:51.649163' WHERE "subtasks"."id" = 1
249272
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249273
+  (0.0ms) SAVEPOINT active_record_1
249274
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249275
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249276
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249277
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249278
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249279
+  (0.8ms) rollback transaction
249280
+  (0.1ms) begin transaction
249281
+  (0.1ms) SAVEPOINT active_record_1
249282
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249283
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249285
+  (0.1ms) SAVEPOINT active_record_1
249286
+ SQL (1.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249287
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249288
+  (0.0ms) SAVEPOINT active_record_1
249289
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249290
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249291
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249292
+  (0.1ms) SAVEPOINT active_record_1
249293
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249294
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249295
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249296
+  (0.0ms) SAVEPOINT active_record_1
249297
+  (0.2ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 23:07:51.699107' WHERE "subtasks"."id" = 1
249298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249299
+  (0.0ms) SAVEPOINT active_record_1
249300
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249302
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249303
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249304
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249305
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249306
+  (0.1ms) SAVEPOINT active_record_1
249307
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249308
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249309
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249310
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249311
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249312
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249313
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249314
+  (0.0ms) SAVEPOINT active_record_1
249315
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:07:51.717452', "task_id" = NULL WHERE "subtasks"."id" = 1
249316
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249317
+  (0.0ms) SAVEPOINT active_record_1
249318
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249319
+  (0.0ms) SAVEPOINT active_record_1
249320
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
249321
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249322
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249323
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249324
+  (0.8ms) rollback transaction
249325
+  (0.1ms) begin transaction
249326
+  (0.1ms) SAVEPOINT active_record_1
249327
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["data", {:create=>{:associations=>{}, :attributes=>{"created_at"=>nil, "title"=>"Task 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249329
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249330
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
249331
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249332
+  (0.0ms) SAVEPOINT active_record_1
249333
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249334
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249335
+  (0.0ms) SAVEPOINT active_record_1
249336
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249337
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249338
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
249339
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249340
+  (0.8ms) rollback transaction
249341
+  (0.1ms) begin transaction
249342
+  (0.1ms) SAVEPOINT active_record_1
249343
+ SQL (2.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["data", {:create=>{:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}, :attributes=>{"created_at"=>nil, "title"=>"Task 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249344
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249345
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
249346
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249347
+  (0.0ms) SAVEPOINT active_record_1
249348
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249349
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249350
+  (0.1ms) SAVEPOINT active_record_1
249351
+ SQL (0.6ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249352
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249353
+  (0.0ms) SAVEPOINT active_record_1
249354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249355
+  (0.0ms) SAVEPOINT active_record_1
249356
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249357
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249358
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
249359
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
249360
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
249361
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249362
+  (0.8ms) rollback transaction
249363
+  (0.1ms) begin transaction
249364
+  (0.1ms) SAVEPOINT active_record_1
249365
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249367
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
249368
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249369
+  (0.1ms) SAVEPOINT active_record_1
249370
+ SQL (0.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["data", :destroy], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249371
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249372
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
249373
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249374
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249375
+  (0.1ms) SAVEPOINT active_record_1
249376
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" WHERE "moderations"."moderatable_id" = 1 AND "moderations"."moderatable_type" = 'Task'
249377
+ SQL (0.2ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249378
+ SQL (0.2ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 1]]
249379
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249380
+  (0.0ms) SAVEPOINT active_record_1
249381
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249383
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
249384
+  (0.5ms) rollback transaction
249385
+  (0.1ms) begin transaction
249386
+  (0.1ms) SAVEPOINT active_record_1
249387
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249388
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249389
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 23:07:51.966568' WHERE "moderations"."id" = 1
249390
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249391
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249392
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249393
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249394
+  (0.0ms) SAVEPOINT active_record_1
249395
+  (0.4ms) UPDATE "tasks" SET "updated_at" = '2012-05-20 23:07:51.972677', "title" = 'Task 1' WHERE "tasks"."id" = 1
249396
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249397
+  (0.1ms) SAVEPOINT active_record_1
249398
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249400
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249401
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249402
+  (0.0ms) SAVEPOINT active_record_1
249403
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:51 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 2"}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:51 UTC +00:00]]
249404
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249405
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249406
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249407
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249408
+  (0.0ms) SAVEPOINT active_record_1
249409
+  (0.1ms) UPDATE "tasks" SET "updated_at" = '2012-05-20 23:07:51.987118', "title" = 'Task 2' WHERE "tasks"."id" = 1
249410
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249411
+  (0.0ms) SAVEPOINT active_record_1
249412
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
249413
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249414
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249415
+  (0.7ms) rollback transaction
249416
+  (0.1ms) begin transaction
249417
+  (0.1ms) SAVEPOINT active_record_1
249418
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:52 UTC +00:00], ["data", {:create=>{:associations=>nil, :attributes=>{:test=>"ok"}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:52 UTC +00:00]]
249419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249420
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249421
+  (0.7ms) rollback transaction
249422
+  (0.1ms) begin transaction
249423
+  (0.1ms) SAVEPOINT active_record_1
249424
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:52 UTC +00:00], ["data", {:create=>{:associations=>nil, :attributes=>{:test=>"ok"}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:52 UTC +00:00]]
249425
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249426
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249427
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249428
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249429
+  (0.7ms) rollback transaction
249430
+  (0.1ms) begin transaction
249431
+  (0.1ms) SAVEPOINT active_record_1
249432
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:52 UTC +00:00], ["data", {:create=>{:associations=>nil, :attributes=>{:test=>"ok"}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:52 UTC +00:00]]
249433
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249434
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249435
+  (0.7ms) rollback transaction
249436
+  (0.1ms) begin transaction
249437
+  (0.1ms) SAVEPOINT active_record_1
249438
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:52 UTC +00:00], ["data", "Test!"], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:52 UTC +00:00]]
249439
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:52 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 23:07:52 UTC +00:00]]
249440
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 23:07:52.185613' WHERE "moderations"."id" = 1
249441
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249442
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249443
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249444
+  (0.8ms) rollback transaction
249445
+  (0.1ms) begin transaction
249446
+  (0.1ms) SAVEPOINT active_record_1
249447
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:52 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:07:52 UTC +00:00]]
249448
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:07:52 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 23:07:52 UTC +00:00]]
249449
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 23:07:52.210520' WHERE "moderations"."id" = 1
249450
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249451
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
249452
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249453
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249454
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
249455
+  (0.7ms) rollback transaction
249456
+  (0.2ms) begin transaction
249457
+  (0.1ms) SAVEPOINT active_record_1
249458
+ SQL (4.8ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:30 UTC +00:00]]
249459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249460
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249461
+  (0.1ms) SAVEPOINT active_record_1
249462
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:30 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>1, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:30 UTC +00:00]]
249463
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249464
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249465
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
249466
+  (0.0ms) SELECT COUNT(*) FROM "moderations" 
249467
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249468
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249469
+  (0.1ms) SAVEPOINT active_record_1
249470
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249471
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249472
+  (0.0ms) SAVEPOINT active_record_1
249473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249474
+  (0.0ms) SAVEPOINT active_record_1
249475
+ SQL (0.2ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249476
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249477
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249478
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249479
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249480
+  (0.8ms) rollback transaction
249481
+  (0.1ms) begin transaction
249482
+  (0.1ms) SAVEPOINT active_record_1
249483
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249484
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249485
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249486
+  (0.1ms) SAVEPOINT active_record_1
249487
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>1, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249488
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249489
+  (0.1ms) SAVEPOINT active_record_1
249490
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249491
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249492
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
249493
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249494
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249495
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249496
+  (0.1ms) SAVEPOINT active_record_1
249497
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249498
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249499
+  (0.0ms) SAVEPOINT active_record_1
249500
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249501
+  (0.0ms) SAVEPOINT active_record_1
249502
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249503
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249504
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249505
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249506
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249507
+  (0.8ms) rollback transaction
249508
+  (0.1ms) begin transaction
249509
+  (0.1ms) SAVEPOINT active_record_1
249510
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249511
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249512
+  (0.1ms) SAVEPOINT active_record_1
249513
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249515
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249516
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
249517
+  (0.1ms) SAVEPOINT active_record_1
249518
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249519
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249520
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249521
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
249522
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249523
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249524
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249525
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
249526
+  (0.1ms) SAVEPOINT active_record_1
249527
+  (0.2ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 23:09:31.212822' WHERE "subtasks"."id" = 1
249528
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249529
+  (0.0ms) SAVEPOINT active_record_1
249530
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249531
+  (0.0ms) SAVEPOINT active_record_1
249532
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249534
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249535
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249536
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249537
+  (0.8ms) rollback transaction
249538
+  (0.1ms) begin transaction
249539
+  (0.1ms) SAVEPOINT active_record_1
249540
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249541
+  (0.2ms) RELEASE SAVEPOINT active_record_1
249542
+  (0.1ms) SAVEPOINT active_record_1
249543
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249544
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249545
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249546
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
249547
+  (0.0ms) SAVEPOINT active_record_1
249548
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249549
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249550
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249551
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
249552
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249553
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249554
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249555
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
249556
+  (0.1ms) SAVEPOINT active_record_1
249557
+  (0.2ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 23:09:31.267465' WHERE "subtasks"."id" = 1
249558
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249559
+  (0.0ms) SAVEPOINT active_record_1
249560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249561
+  (0.0ms) SAVEPOINT active_record_1
249562
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249563
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249564
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249565
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249566
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249567
+  (0.8ms) rollback transaction
249568
+  (0.1ms) begin transaction
249569
+  (0.1ms) SAVEPOINT active_record_1
249570
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249571
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249572
+  (0.0ms) SAVEPOINT active_record_1
249573
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>1, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249574
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249575
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249576
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249577
+  (0.1ms) SAVEPOINT active_record_1
249578
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249579
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249580
+  (0.0ms) SAVEPOINT active_record_1
249581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249582
+  (0.0ms) SAVEPOINT active_record_1
249583
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249584
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249585
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
249586
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
249587
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 ORDER BY "subtasks"."id" DESC LIMIT 1
249588
+  (0.0ms) SAVEPOINT active_record_1
249589
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249590
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249591
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
249592
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
249593
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249594
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249595
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
249596
+  (0.0ms) SAVEPOINT active_record_1
249597
+ SQL (0.2ms) UPDATE "subtasks" SET "task_id" = NULL WHERE "subtasks"."task_id" = 1 AND "subtasks"."id" IN (1)
249598
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249599
+  (0.0ms) SAVEPOINT active_record_1
249600
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
249601
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249602
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
249603
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
249604
+  (0.8ms) rollback transaction
249605
+  (0.1ms) begin transaction
249606
+  (0.1ms) SAVEPOINT active_record_1
249607
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249608
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249609
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249610
+  (0.0ms) SAVEPOINT active_record_1
249611
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>"Task", "created_at"=>nil, "task_id"=>nil, "parentable_id"=>1, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249612
+  (0.3ms) RELEASE SAVEPOINT active_record_1
249613
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249614
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task'
249615
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249616
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249617
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249618
+  (0.1ms) SAVEPOINT active_record_1
249619
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["parentable_id", 1], ["parentable_type", "Task"], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249620
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249621
+  (0.0ms) SAVEPOINT active_record_1
249622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249623
+  (0.0ms) SAVEPOINT active_record_1
249624
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249625
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249626
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249627
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249628
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
249629
+  (0.6ms) rollback transaction
249630
+  (0.1ms) begin transaction
249631
+  (0.1ms) SAVEPOINT active_record_1
249632
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249633
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
249634
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249635
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249636
+  (0.1ms) SAVEPOINT active_record_1
249637
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249639
+  (0.0ms) SAVEPOINT active_record_1
249640
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249641
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249642
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
249643
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249644
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249645
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249646
+  (0.1ms) SAVEPOINT active_record_1
249647
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249648
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249649
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
249650
+  (0.0ms) SAVEPOINT active_record_1
249651
+  (0.2ms) UPDATE "subtasks" SET "parentable_id" = 1, "updated_at" = '2012-05-20 23:09:31.532537', "parentable_type" = 'Task' WHERE "subtasks"."id" = 1
249652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249653
+  (0.0ms) SAVEPOINT active_record_1
249654
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249655
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249656
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249657
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249658
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
249659
+  (0.9ms) rollback transaction
249660
+  (0.1ms) begin transaction
249661
+  (0.1ms) SAVEPOINT active_record_1
249662
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249663
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249664
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249665
+  (0.0ms) SAVEPOINT active_record_1
249666
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249667
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249668
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
249669
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249670
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
249671
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249672
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249673
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249674
+  (0.1ms) SAVEPOINT active_record_1
249675
+ SQL (1.0ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249676
+  (0.1ms) INSERT INTO "tasks_jointable" ("m1_id", "m2_id") VALUES (1, 1)
249677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249678
+  (0.0ms) SAVEPOINT active_record_1
249679
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249680
+  (0.0ms) SAVEPOINT active_record_1
249681
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249683
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249684
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249685
+ Subtask 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
249686
+  (0.8ms) rollback transaction
249687
+  (0.1ms) begin transaction
249688
+  (0.1ms) SAVEPOINT active_record_1
249689
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249690
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249691
+  (0.1ms) SAVEPOINT active_record_1
249692
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249693
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249694
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249695
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
249696
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
249697
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249698
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
249699
+  (0.0ms) SAVEPOINT active_record_1
249700
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249701
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249702
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249703
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249704
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249705
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
249706
+  (0.1ms) SAVEPOINT active_record_1
249707
+  (0.1ms) INSERT INTO "tasks_jointable" ("m1_id", "m2_id") VALUES (1, 1)
249708
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249709
+  (0.0ms) SAVEPOINT active_record_1
249710
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249711
+  (0.0ms) SAVEPOINT active_record_1
249712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249713
+  (0.0ms) SAVEPOINT active_record_1
249714
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249715
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249716
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249717
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249718
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
249719
+  (0.8ms) rollback transaction
249720
+  (0.1ms) begin transaction
249721
+  (0.1ms) SAVEPOINT active_record_1
249722
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249724
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249725
+  (0.1ms) SAVEPOINT active_record_1
249726
+ SQL (2.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"m1_id"=>nil, :associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}, "created_at"=>nil, "title"=>"Connection 1", "updated_at"=>nil, "id"=>nil, "m2_id"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249728
+  (0.0ms) SAVEPOINT active_record_1
249729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249730
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
249731
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
249732
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249733
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249734
+  (0.1ms) SAVEPOINT active_record_1
249735
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249736
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249737
+  (0.0ms) SAVEPOINT active_record_1
249738
+ SQL (0.4ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249739
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249740
+  (0.0ms) SAVEPOINT active_record_1
249741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249742
+  (0.0ms) SAVEPOINT active_record_1
249743
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249744
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249745
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249746
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249747
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
249748
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
249749
+ TaskConnection Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1 LIMIT 1
249750
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
249751
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249752
+  (0.9ms) rollback transaction
249753
+  (0.1ms) begin transaction
249754
+  (0.1ms) SAVEPOINT active_record_1
249755
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249756
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249757
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249758
+  (0.1ms) SAVEPOINT active_record_1
249759
+ SQL (1.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249760
+  (1.4ms) RELEASE SAVEPOINT active_record_1
249761
+  (0.1ms) SAVEPOINT active_record_1
249762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249763
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
249764
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
249765
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249766
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249767
+  (0.1ms) SAVEPOINT active_record_1
249768
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249769
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:31 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 23:09:31 UTC +00:00]]
249770
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249771
+  (0.0ms) SAVEPOINT active_record_1
249772
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249773
+  (0.0ms) SAVEPOINT active_record_1
249774
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249776
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249777
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
249778
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249779
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
249780
+  (0.8ms) rollback transaction
249781
+  (0.1ms) begin transaction
249782
+  (0.1ms) SAVEPOINT active_record_1
249783
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249785
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249786
+  (0.0ms) SAVEPOINT active_record_1
249787
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249788
+  (0.4ms) RELEASE SAVEPOINT active_record_1
249789
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
249790
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
249791
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249792
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249793
+  (0.1ms) SAVEPOINT active_record_1
249794
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249795
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249796
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249797
+  (0.0ms) SAVEPOINT active_record_1
249798
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249799
+  (0.0ms) SAVEPOINT active_record_1
249800
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249801
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249802
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249803
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
249804
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249805
+ Subtask 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
249806
+  (0.8ms) rollback transaction
249807
+  (0.1ms) begin transaction
249808
+  (0.1ms) SAVEPOINT active_record_1
249809
+ SQL (1.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249810
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249811
+  (0.0ms) SAVEPOINT active_record_1
249812
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249813
+  (0.2ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 23:09:32.101693' WHERE "moderations"."id" = 1
249814
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249815
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
249816
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249817
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
249818
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
249819
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249820
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249821
+  (0.1ms) SAVEPOINT active_record_1
249822
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249823
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249824
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249825
+  (0.0ms) SAVEPOINT active_record_1
249826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249827
+  (0.0ms) SAVEPOINT active_record_1
249828
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249829
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249830
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249831
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
249832
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249833
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
249834
+  (0.7ms) rollback transaction
249835
+  (0.6ms) begin transaction
249836
+  (0.1ms) SAVEPOINT active_record_1
249837
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249838
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249840
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249841
+  (0.1ms) SAVEPOINT active_record_1
249842
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249843
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249844
+  (0.0ms) SAVEPOINT active_record_1
249845
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249846
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249847
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249848
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
249849
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249850
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249851
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249852
+  (0.1ms) SAVEPOINT active_record_1
249853
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249854
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249855
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249856
+  (0.0ms) SAVEPOINT active_record_1
249857
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:09:32.287129', "task_id" = 1 WHERE "subtasks"."id" = 1
249858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249859
+  (0.0ms) SAVEPOINT active_record_1
249860
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249862
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249863
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249864
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249865
+  (0.8ms) rollback transaction
249866
+  (0.2ms) begin transaction
249867
+  (0.1ms) SAVEPOINT active_record_1
249868
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249869
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249870
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249871
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249872
+  (0.1ms) SAVEPOINT active_record_1
249873
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249874
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249875
+  (0.1ms) SAVEPOINT active_record_1
249876
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249877
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249878
+  (0.0ms) SAVEPOINT active_record_1
249879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249880
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249881
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249882
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249883
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249884
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249885
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
249886
+  (0.1ms) SAVEPOINT active_record_1
249887
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249888
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249889
+  (0.0ms) SAVEPOINT active_record_1
249890
+  (0.2ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 23:09:32.341432' WHERE "subtasks"."id" = 1
249891
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249892
+  (0.0ms) SAVEPOINT active_record_1
249893
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249894
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249895
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249896
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249897
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249898
+  (0.9ms) rollback transaction
249899
+  (0.1ms) begin transaction
249900
+  (0.1ms) SAVEPOINT active_record_1
249901
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249902
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249904
+  (0.1ms) SAVEPOINT active_record_1
249905
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249906
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249907
+  (0.0ms) SAVEPOINT active_record_1
249908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249909
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249910
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249911
+  (0.1ms) SAVEPOINT active_record_1
249912
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249913
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249914
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249915
+  (0.0ms) SAVEPOINT active_record_1
249916
+  (0.2ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 23:09:32.390132' WHERE "subtasks"."id" = 1
249917
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249918
+  (0.0ms) SAVEPOINT active_record_1
249919
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249921
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
249922
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249923
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249924
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249925
+  (0.1ms) SAVEPOINT active_record_1
249926
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249927
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249928
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249929
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249930
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249931
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249932
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249933
+  (0.0ms) SAVEPOINT active_record_1
249934
+  (0.1ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:09:32.408727', "task_id" = NULL WHERE "subtasks"."id" = 1
249935
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249936
+  (0.0ms) SAVEPOINT active_record_1
249937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249938
+  (0.0ms) SAVEPOINT active_record_1
249939
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
249940
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249941
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249942
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249943
+  (0.8ms) rollback transaction
249944
+  (0.1ms) begin transaction
249945
+  (0.1ms) SAVEPOINT active_record_1
249946
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:create=>{:associations=>{}, :attributes=>{"created_at"=>nil, "title"=>"Task 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249948
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
249949
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
249950
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249951
+  (0.1ms) SAVEPOINT active_record_1
249952
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249953
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249954
+  (0.0ms) SAVEPOINT active_record_1
249955
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249956
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249957
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
249958
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249959
+  (0.8ms) rollback transaction
249960
+  (0.1ms) begin transaction
249961
+  (0.1ms) SAVEPOINT active_record_1
249962
+ SQL (2.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:create=>{:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}, :attributes=>{"created_at"=>nil, "title"=>"Task 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249963
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249964
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
249965
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249966
+  (0.0ms) SAVEPOINT active_record_1
249967
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249968
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249969
+  (0.1ms) SAVEPOINT active_record_1
249970
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249972
+  (0.0ms) SAVEPOINT active_record_1
249973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249974
+  (0.0ms) SAVEPOINT active_record_1
249975
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249976
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249977
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
249978
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
249979
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
249980
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
249981
+  (0.6ms) rollback transaction
249982
+  (0.1ms) begin transaction
249983
+  (0.1ms) SAVEPOINT active_record_1
249984
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249985
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249986
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
249987
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
249988
+  (0.1ms) SAVEPOINT active_record_1
249989
+ SQL (0.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", :destroy], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
249990
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249991
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
249992
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
249993
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
249994
+  (0.1ms) SAVEPOINT active_record_1
249995
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" WHERE "moderations"."moderatable_id" = 1 AND "moderations"."moderatable_type" = 'Task'
249996
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
249997
+ SQL (0.1ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 1]]
249998
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249999
+  (0.0ms) SAVEPOINT active_record_1
250000
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250001
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250002
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
250003
+  (0.7ms) rollback transaction
250004
+  (0.1ms) begin transaction
250005
+  (0.1ms) SAVEPOINT active_record_1
250006
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
250007
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
250008
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 23:09:32.653585' WHERE "moderations"."id" = 1
250009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250010
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250011
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250012
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250013
+  (0.0ms) SAVEPOINT active_record_1
250014
+  (0.2ms) UPDATE "tasks" SET "updated_at" = '2012-05-20 23:09:32.659679', "title" = 'Task 1' WHERE "tasks"."id" = 1
250015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250016
+  (0.0ms) SAVEPOINT active_record_1
250017
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250018
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250019
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250020
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250021
+  (0.0ms) SAVEPOINT active_record_1
250022
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 2"}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
250023
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250024
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250025
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250026
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250027
+  (0.1ms) SAVEPOINT active_record_1
250028
+  (0.2ms) UPDATE "tasks" SET "updated_at" = '2012-05-20 23:09:32.672058', "title" = 'Task 2' WHERE "tasks"."id" = 1
250029
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250030
+  (0.0ms) SAVEPOINT active_record_1
250031
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
250032
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250033
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250034
+  (0.7ms) rollback transaction
250035
+  (0.1ms) begin transaction
250036
+  (0.1ms) SAVEPOINT active_record_1
250037
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:create=>{:associations=>nil, :attributes=>{:test=>"ok"}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
250038
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250039
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250040
+  (0.7ms) rollback transaction
250041
+  (0.1ms) begin transaction
250042
+  (0.0ms) SAVEPOINT active_record_1
250043
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:create=>{:associations=>nil, :attributes=>{:test=>"ok"}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
250044
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250045
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250046
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250047
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250048
+  (0.8ms) rollback transaction
250049
+  (0.1ms) begin transaction
250050
+  (0.0ms) SAVEPOINT active_record_1
250051
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:create=>{:associations=>nil, :attributes=>{:test=>"ok"}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
250052
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250053
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250054
+  (0.7ms) rollback transaction
250055
+  (0.1ms) begin transaction
250056
+  (0.1ms) SAVEPOINT active_record_1
250057
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", "Test!"], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
250058
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
250059
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 23:09:32.842285' WHERE "moderations"."id" = 1
250060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250061
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250062
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250063
+  (0.7ms) rollback transaction
250064
+  (0.1ms) begin transaction
250065
+  (0.1ms) SAVEPOINT active_record_1
250066
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
250067
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:09:32 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 23:09:32 UTC +00:00]]
250068
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 23:09:32.867871' WHERE "moderations"."id" = 1
250069
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250070
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
250071
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250072
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250073
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
250074
+  (0.8ms) rollback transaction
250075
+  (0.2ms) begin transaction
250076
+  (0.1ms) SAVEPOINT active_record_1
250077
+ SQL (4.8ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250079
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250080
+  (0.0ms) SAVEPOINT active_record_1
250081
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>1, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250083
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250084
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
250085
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250086
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250087
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250088
+  (0.1ms) SAVEPOINT active_record_1
250089
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250090
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250091
+  (0.0ms) SAVEPOINT active_record_1
250092
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250093
+  (0.0ms) SAVEPOINT active_record_1
250094
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250095
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250096
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250097
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250098
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250099
+  (0.8ms) rollback transaction
250100
+  (0.1ms) begin transaction
250101
+  (0.1ms) SAVEPOINT active_record_1
250102
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250103
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250104
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250105
+  (0.1ms) SAVEPOINT active_record_1
250106
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>1, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250108
+  (0.0ms) SAVEPOINT active_record_1
250109
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250110
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250111
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
250112
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250113
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250114
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250115
+  (0.1ms) SAVEPOINT active_record_1
250116
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250117
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250118
+  (0.0ms) SAVEPOINT active_record_1
250119
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250120
+  (0.0ms) SAVEPOINT active_record_1
250121
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250122
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250123
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250124
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250125
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250126
+  (0.8ms) rollback transaction
250127
+  (0.1ms) begin transaction
250128
+  (0.1ms) SAVEPOINT active_record_1
250129
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250131
+  (0.1ms) SAVEPOINT active_record_1
250132
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250134
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250135
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
250136
+  (0.0ms) SAVEPOINT active_record_1
250137
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250138
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250139
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250140
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
250141
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250142
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250143
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250144
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
250145
+  (0.1ms) SAVEPOINT active_record_1
250146
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:10:29.623234', "task_id" = 1 WHERE "subtasks"."id" = 1
250147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250148
+  (0.0ms) SAVEPOINT active_record_1
250149
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250150
+  (0.0ms) SAVEPOINT active_record_1
250151
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250152
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250153
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250154
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250155
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250156
+  (0.8ms) rollback transaction
250157
+  (0.1ms) begin transaction
250158
+  (0.1ms) SAVEPOINT active_record_1
250159
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250161
+  (0.1ms) SAVEPOINT active_record_1
250162
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250164
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250165
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
250166
+  (0.0ms) SAVEPOINT active_record_1
250167
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250169
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250170
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
250171
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250172
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250173
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250174
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
250175
+  (0.0ms) SAVEPOINT active_record_1
250176
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:10:29.677345', "task_id" = 1 WHERE "subtasks"."id" = 1
250177
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250178
+  (0.0ms) SAVEPOINT active_record_1
250179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250180
+  (0.0ms) SAVEPOINT active_record_1
250181
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250183
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250184
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250185
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250186
+  (0.8ms) rollback transaction
250187
+  (0.1ms) begin transaction
250188
+  (0.1ms) SAVEPOINT active_record_1
250189
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250190
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250191
+  (0.0ms) SAVEPOINT active_record_1
250192
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>1, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250194
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250195
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250196
+  (0.1ms) SAVEPOINT active_record_1
250197
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250199
+  (0.0ms) SAVEPOINT active_record_1
250200
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250201
+  (0.0ms) SAVEPOINT active_record_1
250202
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250204
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
250205
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
250206
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 ORDER BY "subtasks"."id" DESC LIMIT 1
250207
+  (0.0ms) SAVEPOINT active_record_1
250208
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250210
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
250211
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
250212
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250213
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250214
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
250215
+  (0.0ms) SAVEPOINT active_record_1
250216
+ SQL (0.2ms) UPDATE "subtasks" SET "task_id" = NULL WHERE "subtasks"."task_id" = 1 AND "subtasks"."id" IN (1)
250217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250218
+  (0.0ms) SAVEPOINT active_record_1
250219
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
250220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250221
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
250222
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
250223
+  (0.8ms) rollback transaction
250224
+  (0.1ms) begin transaction
250225
+  (0.1ms) SAVEPOINT active_record_1
250226
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250227
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250228
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250229
+  (0.1ms) SAVEPOINT active_record_1
250230
+ SQL (1.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>"Task", "created_at"=>nil, "task_id"=>nil, "parentable_id"=>1, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250231
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250232
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250233
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task'
250234
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250235
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250236
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250237
+  (0.1ms) SAVEPOINT active_record_1
250238
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["parentable_id", 1], ["parentable_type", "Task"], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250240
+  (0.0ms) SAVEPOINT active_record_1
250241
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250242
+  (0.0ms) SAVEPOINT active_record_1
250243
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250244
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250245
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250246
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250247
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
250248
+  (0.8ms) rollback transaction
250249
+  (0.1ms) begin transaction
250250
+  (0.1ms) SAVEPOINT active_record_1
250251
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250252
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
250253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250254
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250255
+  (0.1ms) SAVEPOINT active_record_1
250256
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250257
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250258
+  (0.0ms) SAVEPOINT active_record_1
250259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250260
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250261
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
250262
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250263
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250264
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250265
+  (0.1ms) SAVEPOINT active_record_1
250266
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250268
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
250269
+  (0.0ms) SAVEPOINT active_record_1
250270
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:10:29.942876', "parentable_type" = 'Task', "parentable_id" = 1 WHERE "subtasks"."id" = 1
250271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250272
+  (0.0ms) SAVEPOINT active_record_1
250273
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250275
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250276
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250277
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
250278
+  (0.8ms) rollback transaction
250279
+  (0.1ms) begin transaction
250280
+  (0.1ms) SAVEPOINT active_record_1
250281
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250282
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250283
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250284
+  (0.0ms) SAVEPOINT active_record_1
250285
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:29 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:29 UTC +00:00]]
250286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250287
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
250288
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250289
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
250290
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250291
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250292
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250293
+  (0.1ms) SAVEPOINT active_record_1
250294
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250295
+  (0.1ms) INSERT INTO "tasks_jointable" ("m1_id", "m2_id") VALUES (1, 1)
250296
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250297
+  (0.0ms) SAVEPOINT active_record_1
250298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250299
+  (0.0ms) SAVEPOINT active_record_1
250300
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250302
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250303
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250304
+ Subtask 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
250305
+  (0.8ms) rollback transaction
250306
+  (0.1ms) begin transaction
250307
+  (0.1ms) SAVEPOINT active_record_1
250308
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250310
+  (0.1ms) SAVEPOINT active_record_1
250311
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250312
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250313
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250314
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
250315
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
250316
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250317
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
250318
+  (0.0ms) SAVEPOINT active_record_1
250319
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250320
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250321
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250322
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250323
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250324
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
250325
+  (0.1ms) SAVEPOINT active_record_1
250326
+  (0.1ms) INSERT INTO "tasks_jointable" ("m1_id", "m2_id") VALUES (1, 1)
250327
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250328
+  (0.0ms) SAVEPOINT active_record_1
250329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250330
+  (0.0ms) SAVEPOINT active_record_1
250331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250332
+  (0.0ms) SAVEPOINT active_record_1
250333
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250334
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250335
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250336
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250337
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
250338
+  (0.8ms) rollback transaction
250339
+  (0.1ms) begin transaction
250340
+  (0.1ms) SAVEPOINT active_record_1
250341
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250342
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250343
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250344
+  (0.1ms) SAVEPOINT active_record_1
250345
+ SQL (2.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"m1_id"=>nil, :associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}, "created_at"=>nil, "title"=>"Connection 1", "updated_at"=>nil, "id"=>nil, "m2_id"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250346
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250347
+  (0.0ms) SAVEPOINT active_record_1
250348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250349
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
250350
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
250351
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250352
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250353
+  (0.1ms) SAVEPOINT active_record_1
250354
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250355
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250356
+  (0.0ms) SAVEPOINT active_record_1
250357
+ SQL (0.4ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250358
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250359
+  (0.0ms) SAVEPOINT active_record_1
250360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250361
+  (0.0ms) SAVEPOINT active_record_1
250362
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250363
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250364
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250365
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250366
+ Subtask Load (0.3ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
250367
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
250368
+ TaskConnection Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1 LIMIT 1
250369
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
250370
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250371
+  (0.8ms) rollback transaction
250372
+  (0.1ms) begin transaction
250373
+  (0.1ms) SAVEPOINT active_record_1
250374
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250376
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250377
+  (0.1ms) SAVEPOINT active_record_1
250378
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250379
+  (0.5ms) RELEASE SAVEPOINT active_record_1
250380
+  (0.0ms) SAVEPOINT active_record_1
250381
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250382
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
250383
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
250384
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250385
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250386
+  (0.1ms) SAVEPOINT active_record_1
250387
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250388
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250389
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250390
+  (0.0ms) SAVEPOINT active_record_1
250391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250392
+  (0.0ms) SAVEPOINT active_record_1
250393
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250394
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250395
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250396
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
250397
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250398
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
250399
+  (0.6ms) rollback transaction
250400
+  (0.1ms) begin transaction
250401
+  (0.1ms) SAVEPOINT active_record_1
250402
+ SQL (0.9ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250403
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250404
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250405
+  (0.1ms) SAVEPOINT active_record_1
250406
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250407
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250408
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
250409
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
250410
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250411
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250412
+  (0.1ms) SAVEPOINT active_record_1
250413
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250414
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250415
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250416
+  (0.0ms) SAVEPOINT active_record_1
250417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250418
+  (0.0ms) SAVEPOINT active_record_1
250419
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250420
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250421
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250422
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
250423
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250424
+ Subtask 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
250425
+  (0.8ms) rollback transaction
250426
+  (0.1ms) begin transaction
250427
+  (0.1ms) SAVEPOINT active_record_1
250428
+ SQL (1.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250429
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250430
+  (0.0ms) SAVEPOINT active_record_1
250431
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250432
+  (0.2ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 23:10:30.507190' WHERE "moderations"."id" = 1
250433
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250434
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
250435
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250436
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
250437
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
250438
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250439
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250440
+  (0.1ms) SAVEPOINT active_record_1
250441
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250442
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250444
+  (0.0ms) SAVEPOINT active_record_1
250445
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250446
+  (0.0ms) SAVEPOINT active_record_1
250447
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250448
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250449
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250450
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
250451
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250452
+ Subtask 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
250453
+  (0.8ms) rollback transaction
250454
+  (0.1ms) begin transaction
250455
+  (0.1ms) SAVEPOINT active_record_1
250456
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250457
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250459
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250460
+  (0.1ms) SAVEPOINT active_record_1
250461
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250462
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250463
+  (0.0ms) SAVEPOINT active_record_1
250464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250465
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250466
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250467
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
250468
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250469
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250470
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250471
+  (0.1ms) SAVEPOINT active_record_1
250472
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250474
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250475
+  (0.0ms) SAVEPOINT active_record_1
250476
+  (0.1ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:10:30.691673', "task_id" = 1 WHERE "subtasks"."id" = 1
250477
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250478
+  (0.0ms) SAVEPOINT active_record_1
250479
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250480
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250481
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250482
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250483
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250484
+  (0.8ms) rollback transaction
250485
+  (0.1ms) begin transaction
250486
+  (0.1ms) SAVEPOINT active_record_1
250487
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250488
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250490
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250491
+  (0.1ms) SAVEPOINT active_record_1
250492
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250493
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250494
+  (0.1ms) SAVEPOINT active_record_1
250495
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250496
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250497
+  (0.0ms) SAVEPOINT active_record_1
250498
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250499
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250500
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250501
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250502
+ Moderation Load (0.2ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250503
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250504
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
250505
+  (0.0ms) SAVEPOINT active_record_1
250506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250507
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250508
+  (0.0ms) SAVEPOINT active_record_1
250509
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:10:30.745159', "task_id" = 1 WHERE "subtasks"."id" = 1
250510
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250511
+  (0.0ms) SAVEPOINT active_record_1
250512
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250513
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250514
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250515
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250516
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250517
+  (0.8ms) rollback transaction
250518
+  (0.1ms) begin transaction
250519
+  (0.1ms) SAVEPOINT active_record_1
250520
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250521
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250522
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250523
+  (0.1ms) SAVEPOINT active_record_1
250524
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250526
+  (0.0ms) SAVEPOINT active_record_1
250527
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250528
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250529
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250530
+  (0.1ms) SAVEPOINT active_record_1
250531
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250532
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250533
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250534
+  (0.0ms) SAVEPOINT active_record_1
250535
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 23:10:30.794499', "task_id" = 1 WHERE "subtasks"."id" = 1
250536
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250537
+  (0.0ms) SAVEPOINT active_record_1
250538
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250539
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250540
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250541
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250542
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250543
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250544
+  (0.1ms) SAVEPOINT active_record_1
250545
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250546
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250547
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250548
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250549
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250550
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250551
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250552
+  (0.0ms) SAVEPOINT active_record_1
250553
+  (0.2ms) UPDATE "subtasks" SET "task_id" = NULL, "updated_at" = '2012-05-20 23:10:30.812629' WHERE "subtasks"."id" = 1
250554
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250555
+  (0.0ms) SAVEPOINT active_record_1
250556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250557
+  (0.1ms) SAVEPOINT active_record_1
250558
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
250559
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250560
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250561
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250562
+  (0.8ms) rollback transaction
250563
+  (0.1ms) begin transaction
250564
+  (0.1ms) SAVEPOINT active_record_1
250565
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["data", {:create=>{:associations=>{}, :attributes=>{"created_at"=>nil, "title"=>"Task 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250566
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250567
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
250568
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
250569
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250570
+  (0.0ms) SAVEPOINT active_record_1
250571
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250572
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250573
+  (0.0ms) SAVEPOINT active_record_1
250574
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250576
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
250577
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250578
+  (1.1ms) rollback transaction
250579
+  (0.1ms) begin transaction
250580
+  (0.1ms) SAVEPOINT active_record_1
250581
+ SQL (2.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["data", {:create=>{:associations=>{:renamed_subtasks=>[{"parentable_type"=>nil, "created_at"=>nil, "task_id"=>nil, "parentable_id"=>nil, "title"=>"Subtask 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}]}, :attributes=>{"created_at"=>nil, "title"=>"Task 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250582
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250583
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
250584
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250585
+  (0.1ms) SAVEPOINT active_record_1
250586
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250587
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250588
+  (0.1ms) SAVEPOINT active_record_1
250589
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:30 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 23:10:30 UTC +00:00]]
250590
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250591
+  (0.0ms) SAVEPOINT active_record_1
250592
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250593
+  (0.0ms) SAVEPOINT active_record_1
250594
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250595
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250596
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
250597
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
250598
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
250599
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
250600
+  (0.8ms) rollback transaction
250601
+  (0.1ms) begin transaction
250602
+  (0.1ms) SAVEPOINT active_record_1
250603
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:31 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:31 UTC +00:00]]
250604
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250605
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
250606
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250607
+  (0.1ms) SAVEPOINT active_record_1
250608
+ SQL (0.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:31 UTC +00:00], ["data", :destroy], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:31 UTC +00:00]]
250609
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250610
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
250611
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250612
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250613
+  (0.1ms) SAVEPOINT active_record_1
250614
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" WHERE "moderations"."moderatable_id" = 1 AND "moderations"."moderatable_type" = 'Task'
250615
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250616
+ SQL (0.1ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 1]]
250617
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250618
+  (0.0ms) SAVEPOINT active_record_1
250619
+ SQL (0.0ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250620
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250621
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
250622
+  (0.5ms) rollback transaction
250623
+  (0.1ms) begin transaction
250624
+  (0.1ms) SAVEPOINT active_record_1
250625
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:31 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:31 UTC +00:00]]
250626
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:31 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 23:10:31 UTC +00:00]]
250627
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 23:10:31.055365' WHERE "moderations"."id" = 1
250628
+  (0.2ms) RELEASE SAVEPOINT active_record_1
250629
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250630
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250631
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250632
+  (0.1ms) SAVEPOINT active_record_1
250633
+  (0.2ms) UPDATE "tasks" SET "updated_at" = '2012-05-20 23:10:31.062811', "title" = 'Task 1' WHERE "tasks"."id" = 1
250634
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250635
+  (0.0ms) SAVEPOINT active_record_1
250636
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
250637
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250638
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250639
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250640
+  (0.0ms) SAVEPOINT active_record_1
250641
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:31 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 2"}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:31 UTC +00:00]]
250642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250643
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250644
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250645
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250646
+  (0.0ms) SAVEPOINT active_record_1
250647
+  (0.2ms) UPDATE "tasks" SET "updated_at" = '2012-05-20 23:10:31.076373', "title" = 'Task 2' WHERE "tasks"."id" = 1
250648
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250649
+  (0.0ms) SAVEPOINT active_record_1
250650
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
250651
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250652
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
250653
+  (0.6ms) rollback transaction
250654
+  (0.1ms) begin transaction
250655
+  (0.1ms) SAVEPOINT active_record_1
250656
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:31 UTC +00:00], ["data", {:create=>{:associations=>nil, :attributes=>{:test=>"ok"}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:31 UTC +00:00]]
250657
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250658
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250659
+  (0.7ms) rollback transaction
250660
+  (0.1ms) begin transaction
250661
+  (0.1ms) SAVEPOINT active_record_1
250662
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:31 UTC +00:00], ["data", {:create=>{:associations=>nil, :attributes=>{"created_at"=>nil, "title"=>"Task 1", "updated_at"=>nil, "id"=>nil, "desc"=>nil}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:31 UTC +00:00]]
250663
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250664
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250665
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250666
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250667
+  (0.7ms) rollback transaction
250668
+  (0.1ms) begin transaction
250669
+  (0.1ms) SAVEPOINT active_record_1
250670
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:31 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 23:10:31 UTC +00:00]]
250671
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250672
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
250673
+  (0.1ms) SAVEPOINT active_record_1
250674
+ SQL (0.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:31 UTC +00:00], ["data", :destroy], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:31 UTC +00:00]]
250675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250676
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250677
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250678
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250679
+  (0.8ms) rollback transaction
250680
+  (0.1ms) begin transaction
250681
+  (0.1ms) SAVEPOINT active_record_1
250682
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:31 UTC +00:00], ["data", "Test!"], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:31 UTC +00:00]]
250683
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:31 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 23:10:31 UTC +00:00]]
250684
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 23:10:31.272956' WHERE "moderations"."id" = 1
250685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250686
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
250687
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250688
+  (0.8ms) rollback transaction
250689
+  (0.1ms) begin transaction
250690
+  (0.1ms) SAVEPOINT active_record_1
250691
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:31 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 23:10:31 UTC +00:00]]
250692
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 23:10:31 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 23:10:31 UTC +00:00]]
250693
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 23:10:31.297051' WHERE "moderations"."id" = 1
250694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250695
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
250696
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
250697
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
250698
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
250699
+  (0.8ms) rollback transaction