has_moderated 1.0.beta → 1.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
@@ -246382,3 +246382,1844 @@ Migrating to CreatePhotos (20120520215224)
246382
246382
   (0.1ms) SELECT COUNT(*) FROM "moderations"
246383
246383
  Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246384
246384
   (0.8ms) rollback transaction
246385
+  (0.2ms) begin transaction
246386
+  (0.1ms) SAVEPOINT active_record_1
246387
+ SQL (4.9ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:39 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:39 UTC +00:00]]
246388
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246389
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246390
+  (0.0ms) SAVEPOINT active_record_1
246391
+ SQL (2.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:39 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 22:47:39 UTC +00:00]]
246392
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246393
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246394
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
246395
+  (0.0ms) SELECT COUNT(*) FROM "moderations" 
246396
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246397
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246398
+  (0.1ms) SAVEPOINT active_record_1
246399
+ 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 22:47:39 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:39 UTC +00:00]]
246400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246401
+  (0.0ms) SAVEPOINT active_record_1
246402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246403
+  (0.0ms) SAVEPOINT active_record_1
246404
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246405
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246406
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246407
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246408
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246409
+  (0.8ms) rollback transaction
246410
+  (0.1ms) begin transaction
246411
+  (0.1ms) SAVEPOINT active_record_1
246412
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:39 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:39 UTC +00:00]]
246413
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246414
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246415
+  (0.1ms) SAVEPOINT active_record_1
246416
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:39 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 22:47:39 UTC +00:00]]
246417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246418
+  (0.0ms) SAVEPOINT active_record_1
246419
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246420
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246421
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
246422
+  (0.0ms) SELECT COUNT(*) FROM "moderations"
246423
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246424
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246425
+  (0.1ms) SAVEPOINT active_record_1
246426
+ 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 22:47:39 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:39 UTC +00:00]]
246427
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246428
+  (0.0ms) SAVEPOINT active_record_1
246429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246430
+  (0.0ms) SAVEPOINT active_record_1
246431
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246432
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246433
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246434
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246435
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246436
+  (0.8ms) rollback transaction
246437
+  (0.1ms) begin transaction
246438
+  (0.1ms) SAVEPOINT active_record_1
246439
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:39 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:39 UTC +00:00]]
246440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246441
+  (0.1ms) SAVEPOINT active_record_1
246442
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246444
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246445
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
246446
+  (0.0ms) SAVEPOINT active_record_1
246447
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246448
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246449
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246450
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
246451
+  (0.0ms) SELECT COUNT(*) FROM "moderations" 
246452
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246453
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246454
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
246455
+  (0.0ms) SAVEPOINT active_record_1
246456
+  (0.2ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 22:47:40.031143' WHERE "subtasks"."id" = 1
246457
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246458
+  (0.0ms) SAVEPOINT active_record_1
246459
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246460
+  (0.0ms) SAVEPOINT active_record_1
246461
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246462
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246463
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246464
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246465
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246466
+  (1.1ms) rollback transaction
246467
+  (0.1ms) begin transaction
246468
+  (0.1ms) SAVEPOINT active_record_1
246469
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246470
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246471
+  (0.1ms) SAVEPOINT active_record_1
246472
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246474
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246475
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
246476
+  (0.0ms) SAVEPOINT active_record_1
246477
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246478
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246479
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246480
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
246481
+  (0.0ms) SELECT COUNT(*) FROM "moderations" 
246482
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246483
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246484
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
246485
+  (0.0ms) SAVEPOINT active_record_1
246486
+  (0.1ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 22:47:40.077848', "task_id" = 1 WHERE "subtasks"."id" = 1
246487
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246488
+  (0.0ms) SAVEPOINT active_record_1
246489
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246490
+  (0.0ms) SAVEPOINT active_record_1
246491
+ SQL (0.2ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246492
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246493
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246494
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246495
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246496
+  (0.6ms) rollback transaction
246497
+  (0.1ms) begin transaction
246498
+  (0.1ms) SAVEPOINT active_record_1
246499
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246500
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246501
+  (0.0ms) SAVEPOINT active_record_1
246502
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 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 22:47:40 UTC +00:00]]
246503
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246504
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246505
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246506
+  (0.1ms) SAVEPOINT active_record_1
246507
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246509
+  (0.0ms) SAVEPOINT active_record_1
246510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246511
+  (0.0ms) SAVEPOINT active_record_1
246512
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246513
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246514
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
246515
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
246516
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 ORDER BY "subtasks"."id" DESC LIMIT 1
246517
+  (0.0ms) SAVEPOINT active_record_1
246518
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246519
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246520
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
246521
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
246522
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246523
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246524
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
246525
+  (0.0ms) SAVEPOINT active_record_1
246526
+ SQL (0.2ms) UPDATE "subtasks" SET "task_id" = NULL WHERE "subtasks"."task_id" = 1 AND "subtasks"."id" IN (1)
246527
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246528
+  (0.0ms) SAVEPOINT active_record_1
246529
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
246530
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246531
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
246532
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
246533
+  (0.6ms) rollback transaction
246534
+  (0.1ms) begin transaction
246535
+  (0.1ms) SAVEPOINT active_record_1
246536
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246537
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246538
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246539
+  (0.0ms) SAVEPOINT active_record_1
246540
+ SQL (91.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 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 22:47:40 UTC +00:00]]
246541
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246542
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246543
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task'
246544
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246545
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246546
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246547
+  (0.1ms) SAVEPOINT active_record_1
246548
+ 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 22:47:40 UTC +00:00], ["desc", nil], ["parentable_id", 1], ["parentable_type", "Task"], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246549
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246550
+  (0.0ms) SAVEPOINT active_record_1
246551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246552
+  (0.0ms) SAVEPOINT active_record_1
246553
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246554
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246555
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246556
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246557
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
246558
+  (0.8ms) rollback transaction
246559
+  (0.1ms) begin transaction
246560
+  (0.1ms) SAVEPOINT active_record_1
246561
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246562
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
246563
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246564
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246565
+  (0.1ms) SAVEPOINT active_record_1
246566
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 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 22:47:40 UTC +00:00]]
246567
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246568
+  (0.0ms) SAVEPOINT active_record_1
246569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246570
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246571
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
246572
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246573
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246574
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246575
+  (0.1ms) SAVEPOINT active_record_1
246576
+ 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 22:47:40 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246578
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
246579
+  (0.0ms) SAVEPOINT active_record_1
246580
+  (0.1ms) UPDATE "subtasks" SET "parentable_type" = 'Task', "updated_at" = '2012-05-20 22:47:40.312455', "parentable_id" = 1 WHERE "subtasks"."id" = 1
246581
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246582
+  (0.0ms) SAVEPOINT active_record_1
246583
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246584
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246585
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246586
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246587
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
246588
+  (0.8ms) rollback transaction
246589
+  (0.0ms) begin transaction
246590
+  (0.1ms) SAVEPOINT active_record_1
246591
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246592
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246593
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246594
+  (0.0ms) SAVEPOINT active_record_1
246595
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 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 22:47:40 UTC +00:00]]
246596
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246597
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
246598
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246599
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
246600
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246601
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246602
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246603
+  (0.1ms) SAVEPOINT active_record_1
246604
+ 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 22:47:40 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246605
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
246606
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246607
+  (0.0ms) SAVEPOINT active_record_1
246608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246609
+  (0.0ms) SAVEPOINT active_record_1
246610
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246611
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246612
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246613
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246614
+ 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
246615
+  (0.8ms) rollback transaction
246616
+  (0.1ms) begin transaction
246617
+  (0.1ms) SAVEPOINT active_record_1
246618
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246619
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246620
+  (0.1ms) SAVEPOINT active_record_1
246621
+ 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 22:47:40 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246622
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246623
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246624
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
246625
+  (0.0ms) SELECT COUNT(*) FROM "subtasks" 
246626
+  (0.0ms) SELECT COUNT(*) FROM "moderations"
246627
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
246628
+  (0.0ms) SAVEPOINT active_record_1
246629
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246630
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246631
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246632
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246633
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246634
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
246635
+  (0.0ms) SAVEPOINT active_record_1
246636
+  (0.1ms) INSERT INTO "tasks_jointable" ("m1_id", "m2_id") VALUES (1, 1)
246637
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246638
+  (0.0ms) SAVEPOINT active_record_1
246639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246640
+  (0.0ms) SAVEPOINT active_record_1
246641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246642
+  (0.0ms) SAVEPOINT active_record_1
246643
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246645
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246646
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246647
+ 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
246648
+  (0.8ms) rollback transaction
246649
+  (0.1ms) begin transaction
246650
+  (0.1ms) SAVEPOINT active_record_1
246651
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246653
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246654
+  (0.1ms) SAVEPOINT active_record_1
246655
+ SQL (1.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"m1_id"=>nil, "created_at"=>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}]}, "title"=>"Connection 1", "updated_at"=>nil, "id"=>nil, "m2_id"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246657
+  (0.0ms) SAVEPOINT active_record_1
246658
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246659
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
246660
+  (0.0ms) SELECT COUNT(*) FROM "subtasks"
246661
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246662
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246663
+  (0.1ms) SAVEPOINT active_record_1
246664
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246665
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246666
+  (0.0ms) SAVEPOINT active_record_1
246667
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246668
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246669
+  (0.0ms) SAVEPOINT active_record_1
246670
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246671
+  (0.0ms) SAVEPOINT active_record_1
246672
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246673
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246674
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246675
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246676
+ 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
246677
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
246678
+ TaskConnection Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1 LIMIT 1
246679
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
246680
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246681
+  (1.0ms) rollback transaction
246682
+  (0.1ms) begin transaction
246683
+  (0.1ms) SAVEPOINT active_record_1
246684
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246686
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246687
+  (0.1ms) SAVEPOINT active_record_1
246688
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 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 22:47:40 UTC +00:00]]
246689
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246690
+  (0.0ms) SAVEPOINT active_record_1
246691
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246692
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
246693
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
246694
+ Moderation Load (92.0ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246695
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246696
+  (0.1ms) SAVEPOINT active_record_1
246697
+ 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 22:47:40 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246698
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246699
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246700
+  (0.0ms) SAVEPOINT active_record_1
246701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246702
+  (0.0ms) SAVEPOINT active_record_1
246703
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246704
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246705
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246706
+  (0.0ms) SELECT COUNT(*) FROM "subtasks"
246707
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246708
+ 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
246709
+  (0.8ms) rollback transaction
246710
+  (0.1ms) begin transaction
246711
+  (0.1ms) SAVEPOINT active_record_1
246712
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246714
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246715
+  (0.0ms) SAVEPOINT active_record_1
246716
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 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 22:47:40 UTC +00:00]]
246717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246718
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
246719
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
246720
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246721
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246722
+  (0.1ms) SAVEPOINT active_record_1
246723
+ 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 22:47:40 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246724
+ SQL (0.2ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246725
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246726
+  (0.0ms) SAVEPOINT active_record_1
246727
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246728
+  (0.0ms) SAVEPOINT active_record_1
246729
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246731
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246732
+  (0.0ms) SELECT COUNT(*) FROM "subtasks"
246733
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246734
+ 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
246735
+  (0.6ms) rollback transaction
246736
+  (0.1ms) begin transaction
246737
+  (0.1ms) SAVEPOINT active_record_1
246738
+ SQL (1.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 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 22:47:40 UTC +00:00]]
246739
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246740
+  (0.0ms) SAVEPOINT active_record_1
246741
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246742
+  (0.2ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 22:47:40.812288' WHERE "moderations"."id" = 1
246743
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246744
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
246745
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246746
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
246747
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
246748
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246749
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246750
+  (0.1ms) SAVEPOINT active_record_1
246751
+ 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 22:47:40 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246752
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246754
+  (0.0ms) SAVEPOINT active_record_1
246755
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246756
+  (0.1ms) SAVEPOINT active_record_1
246757
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246758
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246759
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246760
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
246761
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246762
+ 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
246763
+  (0.8ms) rollback transaction
246764
+  (0.1ms) begin transaction
246765
+  (0.1ms) SAVEPOINT active_record_1
246766
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246767
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246768
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246769
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246770
+  (0.1ms) SAVEPOINT active_record_1
246771
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 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 22:47:40 UTC +00:00]]
246772
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246773
+  (0.0ms) SAVEPOINT active_record_1
246774
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246775
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246776
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246777
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
246778
+  (0.0ms) SELECT COUNT(*) FROM "moderations"
246779
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246780
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246781
+  (0.1ms) SAVEPOINT active_record_1
246782
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246784
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246785
+  (0.0ms) SAVEPOINT active_record_1
246786
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 22:47:40.978960' WHERE "subtasks"."id" = 1
246787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246788
+  (0.0ms) SAVEPOINT active_record_1
246789
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246790
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246791
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246792
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246793
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246794
+  (0.8ms) rollback transaction
246795
+  (0.1ms) begin transaction
246796
+  (0.1ms) SAVEPOINT active_record_1
246797
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:40 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:40 UTC +00:00]]
246798
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246800
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246801
+  (0.1ms) SAVEPOINT active_record_1
246802
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246803
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246804
+  (0.0ms) SAVEPOINT active_record_1
246805
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246806
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246807
+  (0.0ms) SAVEPOINT active_record_1
246808
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246809
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246810
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246811
+  (0.0ms) SELECT COUNT(*) FROM "moderations" 
246812
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246813
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246814
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
246815
+  (0.0ms) SAVEPOINT active_record_1
246816
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246817
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246818
+  (0.0ms) SAVEPOINT active_record_1
246819
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 22:47:41.024972' WHERE "subtasks"."id" = 1
246820
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246821
+  (0.0ms) SAVEPOINT active_record_1
246822
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246824
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246825
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246826
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246827
+  (0.8ms) rollback transaction
246828
+  (0.1ms) begin transaction
246829
+  (0.1ms) SAVEPOINT active_record_1
246830
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246831
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246832
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246833
+  (0.1ms) SAVEPOINT active_record_1
246834
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 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 22:47:41 UTC +00:00]]
246835
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246836
+  (0.0ms) SAVEPOINT active_record_1
246837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246838
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246839
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246840
+  (0.1ms) SAVEPOINT active_record_1
246841
+ 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 22:47:41 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246842
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246843
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246844
+  (0.0ms) SAVEPOINT active_record_1
246845
+  (0.1ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 22:47:41.066873', "task_id" = 1 WHERE "subtasks"."id" = 1
246846
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246847
+  (0.0ms) SAVEPOINT active_record_1
246848
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246849
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246850
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246851
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246852
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246853
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246854
+  (0.1ms) SAVEPOINT active_record_1
246855
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246856
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246857
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246858
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246859
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246860
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246861
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246862
+  (0.0ms) SAVEPOINT active_record_1
246863
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 22:47:41.082106', "task_id" = NULL WHERE "subtasks"."id" = 1
246864
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246865
+  (0.0ms) SAVEPOINT active_record_1
246866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246867
+  (0.0ms) SAVEPOINT active_record_1
246868
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
246869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246870
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246871
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246872
+  (0.8ms) rollback transaction
246873
+  (0.1ms) begin transaction
246874
+  (0.1ms) SAVEPOINT active_record_1
246875
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 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 22:47:41 UTC +00:00]]
246876
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246877
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246878
+  (0.0ms) SELECT COUNT(*) FROM "tasks"
246879
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246880
+  (0.0ms) SAVEPOINT active_record_1
246881
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246882
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246883
+  (0.0ms) SAVEPOINT active_record_1
246884
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246885
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246886
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
246887
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246888
+  (0.6ms) rollback transaction
246889
+  (0.1ms) begin transaction
246890
+  (0.1ms) SAVEPOINT active_record_1
246891
+ SQL (1.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 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 22:47:41 UTC +00:00]]
246892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246893
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
246894
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246895
+  (0.0ms) SAVEPOINT active_record_1
246896
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246897
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246898
+  (0.1ms) SAVEPOINT active_record_1
246899
+ 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 22:47:41 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246900
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246901
+  (0.0ms) SAVEPOINT active_record_1
246902
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246903
+  (0.0ms) SAVEPOINT active_record_1
246904
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246905
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246906
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
246907
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
246908
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
246909
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
246910
+  (0.8ms) rollback transaction
246911
+  (0.1ms) begin transaction
246912
+  (0.1ms) SAVEPOINT active_record_1
246913
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246915
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
246916
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246917
+  (0.0ms) SAVEPOINT active_record_1
246918
+ SQL (0.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["data", :destroy], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246919
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246920
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
246921
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246922
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246923
+  (0.0ms) SAVEPOINT active_record_1
246924
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" WHERE "moderations"."moderatable_id" = 1 AND "moderations"."moderatable_type" = 'Task'
246925
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246926
+ SQL (0.1ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 1]]
246927
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246928
+  (0.0ms) SAVEPOINT active_record_1
246929
+ SQL (0.0ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246930
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246931
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
246932
+  (0.7ms) rollback transaction
246933
+  (0.1ms) begin transaction
246934
+  (0.1ms) SAVEPOINT active_record_1
246935
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246936
+ SQL (0.2ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246937
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 22:47:41.299092' WHERE "moderations"."id" = 1
246938
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246939
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246940
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246941
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246942
+  (0.0ms) SAVEPOINT active_record_1
246943
+  (0.1ms) UPDATE "tasks" SET "updated_at" = '2012-05-20 22:47:41.304157', "title" = 'Task 1' WHERE "tasks"."id" = 1
246944
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246945
+  (0.0ms) SAVEPOINT active_record_1
246946
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246948
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246949
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246950
+  (0.0ms) SAVEPOINT active_record_1
246951
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 2"}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246952
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246953
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246954
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246955
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246956
+  (0.0ms) SAVEPOINT active_record_1
246957
+  (0.1ms) UPDATE "tasks" SET "updated_at" = '2012-05-20 22:47:41.314930', "title" = 'Task 2' WHERE "tasks"."id" = 1
246958
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246959
+  (0.0ms) SAVEPOINT active_record_1
246960
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
246961
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246962
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246963
+  (0.7ms) rollback transaction
246964
+  (0.1ms) begin transaction
246965
+  (0.1ms) SAVEPOINT active_record_1
246966
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["data", {:create=>{:associations=>nil, :attributes=>{:test=>"ok"}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246967
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246968
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246969
+  (0.7ms) rollback transaction
246970
+  (0.1ms) begin transaction
246971
+  (0.1ms) SAVEPOINT active_record_1
246972
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["data", "Test!"], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246973
+ SQL (0.2ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:47:41 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 22:47:41 UTC +00:00]]
246974
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 22:47:41.451452' WHERE "moderations"."id" = 1
246975
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246976
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
246977
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246978
+  (0.7ms) rollback transaction
246979
+  (0.2ms) begin transaction
246980
+  (0.1ms) SAVEPOINT active_record_1
246981
+ SQL (87.2ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
246982
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246983
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246984
+  (0.0ms) SAVEPOINT active_record_1
246985
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 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 22:49:10 UTC +00:00]]
246986
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246987
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
246988
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
246989
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
246990
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
246991
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
246992
+  (0.1ms) SAVEPOINT active_record_1
246993
+ 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 22:49:10 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
246994
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246995
+  (0.0ms) SAVEPOINT active_record_1
246996
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246997
+  (0.0ms) SAVEPOINT active_record_1
246998
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
246999
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247000
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247001
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247002
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247003
+  (0.8ms) rollback transaction
247004
+  (0.1ms) begin transaction
247005
+  (0.1ms) SAVEPOINT active_record_1
247006
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247007
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247008
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247009
+  (0.1ms) SAVEPOINT active_record_1
247010
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 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 22:49:10 UTC +00:00]]
247011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247012
+  (0.0ms) SAVEPOINT active_record_1
247013
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247014
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247015
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
247016
+  (0.0ms) SELECT COUNT(*) FROM "moderations"
247017
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247018
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247019
+  (0.1ms) SAVEPOINT active_record_1
247020
+ 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 22:49:10 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247021
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247022
+  (0.0ms) SAVEPOINT active_record_1
247023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247024
+  (0.0ms) SAVEPOINT active_record_1
247025
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247026
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247027
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247028
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247029
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247030
+  (0.8ms) rollback transaction
247031
+  (0.1ms) begin transaction
247032
+  (0.1ms) SAVEPOINT active_record_1
247033
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247034
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247035
+  (0.1ms) SAVEPOINT active_record_1
247036
+ 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 22:49:10 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247037
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247038
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247039
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
247040
+  (0.0ms) SAVEPOINT active_record_1
247041
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247042
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247043
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247044
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
247045
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247046
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247047
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247048
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
247049
+  (0.2ms) SAVEPOINT active_record_1
247050
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 22:49:10.421566', "task_id" = 1 WHERE "subtasks"."id" = 1
247051
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247052
+  (0.0ms) SAVEPOINT active_record_1
247053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247054
+  (0.0ms) SAVEPOINT active_record_1
247055
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247056
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247057
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247058
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247059
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247060
+  (0.8ms) rollback transaction
247061
+  (0.1ms) begin transaction
247062
+  (0.1ms) SAVEPOINT active_record_1
247063
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247064
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247065
+  (0.1ms) SAVEPOINT active_record_1
247066
+ 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 22:49:10 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247067
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247068
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247069
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
247070
+  (0.0ms) SAVEPOINT active_record_1
247071
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247072
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247073
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247074
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
247075
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247076
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247077
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247078
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
247079
+  (0.0ms) SAVEPOINT active_record_1
247080
+  (0.1ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 22:49:10.473683', "task_id" = 1 WHERE "subtasks"."id" = 1
247081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247082
+  (0.0ms) SAVEPOINT active_record_1
247083
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247084
+  (0.0ms) SAVEPOINT active_record_1
247085
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247086
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247087
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247088
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247089
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247090
+  (0.6ms) rollback transaction
247091
+  (0.1ms) begin transaction
247092
+  (0.1ms) SAVEPOINT active_record_1
247093
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247094
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247095
+  (0.0ms) SAVEPOINT active_record_1
247096
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 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 22:49:10 UTC +00:00]]
247097
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247098
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247099
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247100
+  (0.1ms) SAVEPOINT active_record_1
247101
+ 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 22:49:10 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247102
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247103
+  (0.0ms) SAVEPOINT active_record_1
247104
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247105
+  (0.0ms) SAVEPOINT active_record_1
247106
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247108
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247109
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247110
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 ORDER BY "subtasks"."id" DESC LIMIT 1
247111
+  (0.0ms) SAVEPOINT active_record_1
247112
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247113
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247114
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247115
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
247116
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247117
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247118
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
247119
+  (0.0ms) SAVEPOINT active_record_1
247120
+ SQL (0.2ms) UPDATE "subtasks" SET "task_id" = NULL WHERE "subtasks"."task_id" = 1 AND "subtasks"."id" IN (1)
247121
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247122
+  (0.0ms) SAVEPOINT active_record_1
247123
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
247124
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247125
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247126
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
247127
+  (0.8ms) rollback transaction
247128
+  (0.1ms) begin transaction
247129
+  (0.1ms) SAVEPOINT active_record_1
247130
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247131
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247132
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247133
+  (0.1ms) SAVEPOINT active_record_1
247134
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 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 22:49:10 UTC +00:00]]
247135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247136
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247137
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task'
247138
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247139
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247140
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247141
+  (0.1ms) SAVEPOINT active_record_1
247142
+ 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 22:49:10 UTC +00:00], ["desc", nil], ["parentable_id", 1], ["parentable_type", "Task"], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247144
+  (0.0ms) SAVEPOINT active_record_1
247145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247146
+  (0.0ms) SAVEPOINT active_record_1
247147
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247148
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247149
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247150
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247151
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
247152
+  (0.8ms) rollback transaction
247153
+  (0.1ms) begin transaction
247154
+  (0.1ms) SAVEPOINT active_record_1
247155
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247156
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
247157
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247158
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247159
+  (0.1ms) SAVEPOINT active_record_1
247160
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 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 22:49:10 UTC +00:00]]
247161
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247162
+  (0.0ms) SAVEPOINT active_record_1
247163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247164
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247165
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
247166
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247167
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247168
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247169
+  (0.1ms) SAVEPOINT active_record_1
247170
+ 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 22:49:10 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247172
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
247173
+  (0.0ms) SAVEPOINT active_record_1
247174
+  (0.2ms) UPDATE "subtasks" SET "parentable_id" = 1, "parentable_type" = 'Task', "updated_at" = '2012-05-20 22:49:10.736942' WHERE "subtasks"."id" = 1
247175
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247176
+  (0.0ms) SAVEPOINT active_record_1
247177
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247179
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247180
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247181
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
247182
+  (0.8ms) rollback transaction
247183
+  (0.1ms) begin transaction
247184
+  (0.1ms) SAVEPOINT active_record_1
247185
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247186
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247187
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247188
+  (0.0ms) SAVEPOINT active_record_1
247189
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 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 22:49:10 UTC +00:00]]
247190
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247191
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
247192
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247193
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
247194
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247195
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247196
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247197
+  (0.1ms) SAVEPOINT active_record_1
247198
+ 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 22:49:10 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247199
+  (0.1ms) INSERT INTO "tasks_jointable" ("m1_id", "m2_id") VALUES (1, 1)
247200
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247201
+  (0.0ms) SAVEPOINT active_record_1
247202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247203
+  (0.0ms) SAVEPOINT active_record_1
247204
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247206
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247207
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247208
+ 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
247209
+  (0.8ms) rollback transaction
247210
+  (0.1ms) begin transaction
247211
+  (0.1ms) SAVEPOINT active_record_1
247212
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247214
+  (0.1ms) SAVEPOINT active_record_1
247215
+ 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 22:49:10 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247216
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247217
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247218
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
247219
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
247220
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247221
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
247222
+  (0.1ms) SAVEPOINT active_record_1
247223
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247224
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247225
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247226
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247227
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247228
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
247229
+  (0.1ms) SAVEPOINT active_record_1
247230
+  (0.1ms) INSERT INTO "tasks_jointable" ("m1_id", "m2_id") VALUES (1, 1)
247231
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247232
+  (0.0ms) SAVEPOINT active_record_1
247233
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247234
+  (0.0ms) SAVEPOINT active_record_1
247235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247236
+  (0.0ms) SAVEPOINT active_record_1
247237
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247238
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247239
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247240
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247241
+ 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
247242
+  (0.8ms) rollback transaction
247243
+  (0.1ms) begin transaction
247244
+  (0.1ms) SAVEPOINT active_record_1
247245
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:10 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:10 UTC +00:00]]
247246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247247
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247248
+  (0.1ms) SAVEPOINT active_record_1
247249
+ SQL (2.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{: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}]}, "m1_id"=>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 22:49:11 UTC +00:00]]
247250
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247251
+  (0.0ms) SAVEPOINT active_record_1
247252
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247253
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
247254
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
247255
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247256
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247257
+  (0.1ms) SAVEPOINT active_record_1
247258
+ 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 22:49:11 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247260
+  (0.0ms) SAVEPOINT active_record_1
247261
+ SQL (0.4ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247263
+  (0.0ms) SAVEPOINT active_record_1
247264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247265
+  (0.0ms) SAVEPOINT active_record_1
247266
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247268
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247269
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247270
+ 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
247271
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
247272
+ TaskConnection Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1 LIMIT 1
247273
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
247274
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247275
+  (0.8ms) rollback transaction
247276
+  (0.1ms) begin transaction
247277
+  (0.1ms) SAVEPOINT active_record_1
247278
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247280
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247281
+  (0.1ms) SAVEPOINT active_record_1
247282
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 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 22:49:11 UTC +00:00]]
247283
+  (0.7ms) RELEASE SAVEPOINT active_record_1
247284
+  (0.1ms) SAVEPOINT active_record_1
247285
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247286
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
247287
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
247288
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247289
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247290
+  (0.1ms) SAVEPOINT active_record_1
247291
+ 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 22:49:11 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247292
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247294
+  (0.0ms) SAVEPOINT active_record_1
247295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247296
+  (0.0ms) SAVEPOINT active_record_1
247297
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247299
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247300
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
247301
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247302
+ 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
247303
+  (0.6ms) rollback transaction
247304
+  (0.1ms) begin transaction
247305
+  (0.1ms) SAVEPOINT active_record_1
247306
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247307
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247308
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247309
+  (0.0ms) SAVEPOINT active_record_1
247310
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 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 22:49:11 UTC +00:00]]
247311
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247312
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
247313
+  (0.2ms) SELECT COUNT(*) FROM "subtasks" 
247314
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247315
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247316
+  (0.1ms) SAVEPOINT active_record_1
247317
+ 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 22:49:11 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247318
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247320
+  (0.0ms) SAVEPOINT active_record_1
247321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247322
+  (0.0ms) SAVEPOINT active_record_1
247323
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247325
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247326
+  (0.0ms) SELECT COUNT(*) FROM "subtasks"
247327
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247328
+ 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
247329
+  (0.6ms) rollback transaction
247330
+  (0.1ms) begin transaction
247331
+  (0.1ms) SAVEPOINT active_record_1
247332
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 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 22:49:11 UTC +00:00]]
247333
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247334
+  (0.0ms) SAVEPOINT active_record_1
247335
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247336
+  (0.2ms) UPDATE "moderations" SET "updated_at" = '2012-05-20 22:49:11.297721', "moderatable_id" = 1 WHERE "moderations"."id" = 1
247337
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247338
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
247339
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247340
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
247341
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
247342
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247343
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247344
+  (0.1ms) SAVEPOINT active_record_1
247345
+ 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 22:49:11 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247346
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247348
+  (0.0ms) SAVEPOINT active_record_1
247349
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247350
+  (0.0ms) SAVEPOINT active_record_1
247351
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247352
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247353
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247354
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
247355
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247356
+ 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
247357
+  (0.8ms) rollback transaction
247358
+  (0.1ms) begin transaction
247359
+  (0.1ms) SAVEPOINT active_record_1
247360
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247361
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247362
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247363
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247364
+  (0.1ms) SAVEPOINT active_record_1
247365
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 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 22:49:11 UTC +00:00]]
247366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247367
+  (0.0ms) SAVEPOINT active_record_1
247368
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247369
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247370
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247371
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
247372
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247373
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247374
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247375
+  (0.1ms) SAVEPOINT active_record_1
247376
+ 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 22:49:11 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247377
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247378
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247379
+  (0.0ms) SAVEPOINT active_record_1
247380
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 22:49:11.479949' WHERE "subtasks"."id" = 1
247381
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247382
+  (0.0ms) SAVEPOINT active_record_1
247383
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247384
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247385
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247386
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247387
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247388
+  (0.8ms) rollback transaction
247389
+  (0.1ms) begin transaction
247390
+  (0.1ms) SAVEPOINT active_record_1
247391
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247392
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247393
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247394
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247395
+  (0.1ms) SAVEPOINT active_record_1
247396
+ 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 22:49:11 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247397
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247398
+  (0.1ms) SAVEPOINT active_record_1
247399
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247401
+  (0.0ms) SAVEPOINT active_record_1
247402
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247403
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247404
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247405
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247406
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247407
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247408
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
247409
+  (0.0ms) SAVEPOINT active_record_1
247410
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247411
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247412
+  (0.0ms) SAVEPOINT active_record_1
247413
+  (0.1ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 22:49:11.533748', "task_id" = 1 WHERE "subtasks"."id" = 1
247414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247415
+  (0.0ms) SAVEPOINT active_record_1
247416
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247418
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247419
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247420
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247421
+  (0.8ms) rollback transaction
247422
+  (0.1ms) begin transaction
247423
+  (0.1ms) SAVEPOINT active_record_1
247424
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247425
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247426
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247427
+  (0.1ms) SAVEPOINT active_record_1
247428
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 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 22:49:11 UTC +00:00]]
247429
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247430
+  (0.0ms) SAVEPOINT active_record_1
247431
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247432
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247433
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247434
+  (0.1ms) SAVEPOINT active_record_1
247435
+ 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 22:49:11 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247436
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247437
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247438
+  (0.1ms) SAVEPOINT active_record_1
247439
+  (0.2ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 22:49:11.582849' WHERE "subtasks"."id" = 1
247440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247441
+  (0.0ms) SAVEPOINT active_record_1
247442
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247444
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247445
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247446
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247447
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247448
+  (0.0ms) SAVEPOINT active_record_1
247449
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247450
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247451
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247452
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247453
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247454
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247455
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247456
+  (0.0ms) SAVEPOINT active_record_1
247457
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 22:49:11.601326', "task_id" = NULL WHERE "subtasks"."id" = 1
247458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247459
+  (0.0ms) SAVEPOINT active_record_1
247460
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247461
+  (0.0ms) SAVEPOINT active_record_1
247462
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
247463
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247464
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247465
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247466
+  (0.8ms) rollback transaction
247467
+  (0.1ms) begin transaction
247468
+  (0.1ms) SAVEPOINT active_record_1
247469
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 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 22:49:11 UTC +00:00]]
247470
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247471
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247472
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
247473
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247474
+  (0.1ms) SAVEPOINT active_record_1
247475
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247476
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247477
+  (0.0ms) SAVEPOINT active_record_1
247478
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247479
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247480
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
247481
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247482
+  (18.0ms) rollback transaction
247483
+  (0.1ms) begin transaction
247484
+  (0.1ms) SAVEPOINT active_record_1
247485
+ SQL (2.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 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 22:49:11 UTC +00:00]]
247486
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247487
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
247488
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247489
+  (0.1ms) SAVEPOINT active_record_1
247490
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247491
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247492
+  (0.1ms) SAVEPOINT active_record_1
247493
+ 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 22:49:11 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247494
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247495
+  (0.0ms) SAVEPOINT active_record_1
247496
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247497
+  (0.0ms) SAVEPOINT active_record_1
247498
+ SQL (0.4ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247499
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247500
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247501
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
247502
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247503
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247504
+  (0.7ms) rollback transaction
247505
+  (0.1ms) begin transaction
247506
+  (0.1ms) SAVEPOINT active_record_1
247507
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247509
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
247510
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247511
+  (0.1ms) SAVEPOINT active_record_1
247512
+ SQL (0.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["data", :destroy], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247513
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247514
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
247515
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247516
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247517
+  (0.1ms) SAVEPOINT active_record_1
247518
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" WHERE "moderations"."moderatable_id" = 1 AND "moderations"."moderatable_type" = 'Task'
247519
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247520
+ SQL (0.1ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 1]]
247521
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247522
+  (0.0ms) SAVEPOINT active_record_1
247523
+ SQL (0.0ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247524
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247525
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
247526
+  (0.7ms) rollback transaction
247527
+  (0.1ms) begin transaction
247528
+  (0.1ms) SAVEPOINT active_record_1
247529
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247530
+ SQL (0.2ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247531
+  (0.1ms) UPDATE "moderations" SET "updated_at" = '2012-05-20 22:49:11.868039', "moderatable_id" = 1 WHERE "moderations"."id" = 1
247532
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247533
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247534
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247535
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247536
+  (0.0ms) SAVEPOINT active_record_1
247537
+  (0.2ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-05-20 22:49:11.874844' WHERE "tasks"."id" = 1
247538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247539
+  (0.0ms) SAVEPOINT active_record_1
247540
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247541
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247542
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247543
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247544
+  (0.0ms) SAVEPOINT active_record_1
247545
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 2"}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247546
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247547
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247548
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247549
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247550
+  (0.0ms) SAVEPOINT active_record_1
247551
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 2', "updated_at" = '2012-05-20 22:49:11.887800' WHERE "tasks"."id" = 1
247552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247553
+  (0.0ms) SAVEPOINT active_record_1
247554
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
247555
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247556
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247557
+  (0.7ms) rollback transaction
247558
+  (0.1ms) begin transaction
247559
+  (0.1ms) SAVEPOINT active_record_1
247560
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:11 UTC +00:00], ["data", {:create=>{:associations=>nil, :attributes=>{:test=>"ok"}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:49:11 UTC +00:00]]
247561
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247562
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247563
+  (0.7ms) rollback transaction
247564
+  (0.1ms) begin transaction
247565
+  (0.1ms) SAVEPOINT active_record_1
247566
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:12 UTC +00:00], ["data", "Test!"], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:49:12 UTC +00:00]]
247567
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:12 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 22:49:12 UTC +00:00]]
247568
+  (0.2ms) UPDATE "moderations" SET "updated_at" = '2012-05-20 22:49:12.037403', "moderatable_id" = 1 WHERE "moderations"."id" = 1
247569
+  (55.8ms) RELEASE SAVEPOINT active_record_1
247570
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247571
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247572
+  (0.8ms) rollback transaction
247573
+  (0.1ms) begin transaction
247574
+  (0.1ms) SAVEPOINT active_record_1
247575
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:12 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:49:12 UTC +00:00]]
247576
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:12 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 22:49:12 UTC +00:00]]
247577
+  (0.1ms) UPDATE "moderations" SET "updated_at" = '2012-05-20 22:49:12.125331', "moderatable_id" = 1 WHERE "moderations"."id" = 1
247578
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247579
+ Moderation Load (0.2ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247580
+ Moderation Load (0.3ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247581
+  (0.2ms) begin transaction
247582
+  (0.1ms) SAVEPOINT active_record_1
247583
+ SQL (5.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:59 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:49:59 UTC +00:00]]
247584
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:49:59 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 22:49:59 UTC +00:00]]
247585
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 22:49:59.911415' WHERE "moderations"."id" = 1
247586
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247587
+ Moderation Load (0.2ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247588
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247589
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247590
+ Moderation Load (0.2ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247591
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247592
+ Moderation Load (0.2ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247593
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247594
+  (0.2ms) begin transaction
247595
+  (0.1ms) SAVEPOINT active_record_1
247596
+ SQL (5.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:55:47 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:55:47 UTC +00:00]]
247597
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:55:47 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 22:55:47 UTC +00:00]]
247598
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 22:55:47.098295' WHERE "moderations"."id" = 1
247599
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247600
+  (0.2ms) begin transaction
247601
+  (0.1ms) SAVEPOINT active_record_1
247602
+ SQL (5.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:56:36 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:56:36 UTC +00:00]]
247603
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:56:36 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 22:56:36 UTC +00:00]]
247604
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 22:56:36.990896' WHERE "moderations"."id" = 1
247605
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247606
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247607
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247608
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247609
+  (0.8ms) rollback transaction
247610
+  (0.2ms) begin transaction
247611
+  (0.1ms) SAVEPOINT active_record_1
247612
+ SQL (5.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:56:57 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:56:57 UTC +00:00]]
247613
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:56:57 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 22:56:57 UTC +00:00]]
247614
+  (0.1ms) UPDATE "moderations" SET "moderatable_id" = 1, "updated_at" = '2012-05-20 22:56:57.965374' WHERE "moderations"."id" = 1
247615
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247616
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247617
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247618
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247619
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247620
+  (0.8ms) rollback transaction
247621
+  (0.2ms) begin transaction
247622
+  (0.1ms) SAVEPOINT active_record_1
247623
+ SQL (4.8ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:07 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:07 UTC +00:00]]
247624
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247625
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247626
+  (0.0ms) SAVEPOINT active_record_1
247627
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:07 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 22:57:07 UTC +00:00]]
247628
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247629
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247630
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
247631
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247632
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247633
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247634
+  (0.1ms) SAVEPOINT active_record_1
247635
+ 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 22:57:07 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:07 UTC +00:00]]
247636
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247637
+  (0.0ms) SAVEPOINT active_record_1
247638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247639
+  (0.0ms) SAVEPOINT active_record_1
247640
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247641
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247642
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247643
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247644
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247645
+  (0.8ms) rollback transaction
247646
+  (0.1ms) begin transaction
247647
+  (0.1ms) SAVEPOINT active_record_1
247648
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:07 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:07 UTC +00:00]]
247649
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247650
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247651
+  (0.1ms) SAVEPOINT active_record_1
247652
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:07 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 22:57:07 UTC +00:00]]
247653
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247654
+  (0.0ms) SAVEPOINT active_record_1
247655
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247656
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247657
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
247658
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247659
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247660
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247661
+  (0.1ms) SAVEPOINT active_record_1
247662
+ 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 22:57:07 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:07 UTC +00:00]]
247663
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247664
+  (0.0ms) SAVEPOINT active_record_1
247665
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247666
+  (0.0ms) SAVEPOINT active_record_1
247667
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247668
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247669
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247670
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247671
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247672
+  (0.8ms) rollback transaction
247673
+  (0.1ms) begin transaction
247674
+  (0.1ms) SAVEPOINT active_record_1
247675
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:07 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:07 UTC +00:00]]
247676
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247677
+  (0.1ms) SAVEPOINT active_record_1
247678
+ 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 22:57:07 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:07 UTC +00:00]]
247679
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247680
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247681
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
247682
+  (0.1ms) SAVEPOINT active_record_1
247683
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247684
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247685
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247686
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
247687
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247688
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247689
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247690
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
247691
+  (0.1ms) SAVEPOINT active_record_1
247692
+  (0.2ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 22:57:08.062076' WHERE "subtasks"."id" = 1
247693
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247694
+  (0.0ms) SAVEPOINT active_record_1
247695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247696
+  (0.0ms) SAVEPOINT active_record_1
247697
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247699
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247700
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247701
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247702
+  (0.8ms) rollback transaction
247703
+  (0.1ms) begin transaction
247704
+  (0.1ms) SAVEPOINT active_record_1
247705
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247706
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247707
+  (0.1ms) SAVEPOINT active_record_1
247708
+ 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 22:57:08 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247709
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247710
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247711
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
247712
+  (0.1ms) SAVEPOINT active_record_1
247713
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247714
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247715
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247716
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
247717
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247718
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247719
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247720
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
247721
+  (0.1ms) SAVEPOINT active_record_1
247722
+  (0.2ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 22:57:08.114675' WHERE "subtasks"."id" = 1
247723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247724
+  (0.0ms) SAVEPOINT active_record_1
247725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247726
+  (0.0ms) SAVEPOINT active_record_1
247727
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247728
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247729
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247730
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247731
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
247732
+  (0.8ms) rollback transaction
247733
+  (0.1ms) begin transaction
247734
+  (0.1ms) SAVEPOINT active_record_1
247735
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247736
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247737
+  (0.1ms) SAVEPOINT active_record_1
247738
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 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 22:57:08 UTC +00:00]]
247739
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247740
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247741
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247742
+  (0.1ms) SAVEPOINT active_record_1
247743
+ 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 22:57:08 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247744
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247745
+  (0.0ms) SAVEPOINT active_record_1
247746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247747
+  (0.0ms) SAVEPOINT active_record_1
247748
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247750
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247751
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247752
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 ORDER BY "subtasks"."id" DESC LIMIT 1
247753
+  (0.0ms) SAVEPOINT active_record_1
247754
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247756
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247757
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
247758
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247759
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247760
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
247761
+  (0.0ms) SAVEPOINT active_record_1
247762
+ SQL (0.2ms) UPDATE "subtasks" SET "task_id" = NULL WHERE "subtasks"."task_id" = 1 AND "subtasks"."id" IN (1)
247763
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247764
+  (0.0ms) SAVEPOINT active_record_1
247765
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
247766
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247767
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
247768
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
247769
+  (0.8ms) rollback transaction
247770
+  (0.1ms) begin transaction
247771
+  (0.1ms) SAVEPOINT active_record_1
247772
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247774
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247775
+  (0.1ms) SAVEPOINT active_record_1
247776
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 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 22:57:08 UTC +00:00]]
247777
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247778
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247779
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task'
247780
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247781
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247782
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247783
+  (0.1ms) SAVEPOINT active_record_1
247784
+ 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 22:57:08 UTC +00:00], ["desc", nil], ["parentable_id", 1], ["parentable_type", "Task"], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247785
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247786
+  (0.0ms) SAVEPOINT active_record_1
247787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247788
+  (0.0ms) SAVEPOINT active_record_1
247789
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247790
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247791
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247792
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247793
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
247794
+  (0.6ms) rollback transaction
247795
+  (0.1ms) begin transaction
247796
+  (0.1ms) SAVEPOINT active_record_1
247797
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247798
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
247799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247800
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247801
+  (0.1ms) SAVEPOINT active_record_1
247802
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 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 22:57:08 UTC +00:00]]
247803
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247804
+  (0.0ms) SAVEPOINT active_record_1
247805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247806
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247807
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
247808
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247809
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247810
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247811
+  (0.1ms) SAVEPOINT active_record_1
247812
+ 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 22:57:08 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247813
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247814
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
247815
+  (0.0ms) SAVEPOINT active_record_1
247816
+  (0.1ms) UPDATE "subtasks" SET "parentable_id" = 1, "updated_at" = '2012-05-20 22:57:08.378413', "parentable_type" = 'Task' WHERE "subtasks"."id" = 1
247817
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247818
+  (0.0ms) SAVEPOINT active_record_1
247819
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247820
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247821
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247822
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247823
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task' LIMIT 1
247824
+  (0.8ms) rollback transaction
247825
+  (0.1ms) begin transaction
247826
+  (0.1ms) SAVEPOINT active_record_1
247827
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247829
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247830
+  (0.0ms) SAVEPOINT active_record_1
247831
+ SQL (1.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 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 22:57:08 UTC +00:00]]
247832
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247833
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
247834
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247835
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
247836
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247837
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247838
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247839
+  (0.1ms) SAVEPOINT active_record_1
247840
+ 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 22:57:08 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247841
+  (0.1ms) INSERT INTO "tasks_jointable" ("m1_id", "m2_id") VALUES (1, 1)
247842
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247843
+  (0.0ms) SAVEPOINT active_record_1
247844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247845
+  (0.0ms) SAVEPOINT active_record_1
247846
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247847
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247848
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247849
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247850
+ 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
247851
+  (0.8ms) rollback transaction
247852
+  (0.1ms) begin transaction
247853
+  (0.1ms) SAVEPOINT active_record_1
247854
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247855
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247856
+  (0.1ms) SAVEPOINT active_record_1
247857
+ 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 22:57:08 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247859
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247860
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
247861
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
247862
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247863
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
247864
+  (0.0ms) SAVEPOINT active_record_1
247865
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247866
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247867
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247868
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247869
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247870
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
247871
+  (0.1ms) SAVEPOINT active_record_1
247872
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
247873
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247874
+  (0.0ms) SAVEPOINT active_record_1
247875
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247876
+  (0.0ms) SAVEPOINT active_record_1
247877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247878
+  (0.0ms) SAVEPOINT active_record_1
247879
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247880
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247881
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247882
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247883
+ 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
247884
+  (0.8ms) rollback transaction
247885
+  (0.1ms) begin transaction
247886
+  (0.1ms) SAVEPOINT active_record_1
247887
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247888
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247889
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247890
+  (0.1ms) SAVEPOINT active_record_1
247891
+ SQL (2.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"m1_id"=>nil, "created_at"=>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}]}, "title"=>"Connection 1", "updated_at"=>nil, "id"=>nil, "m2_id"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247893
+  (0.0ms) SAVEPOINT active_record_1
247894
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247895
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
247896
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
247897
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247898
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247899
+  (0.1ms) SAVEPOINT active_record_1
247900
+ 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 22:57:08 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247901
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247902
+  (0.0ms) SAVEPOINT active_record_1
247903
+ SQL (0.4ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247904
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247905
+  (0.0ms) SAVEPOINT active_record_1
247906
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247907
+  (0.0ms) SAVEPOINT active_record_1
247908
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247909
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247910
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247911
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247912
+ 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
247913
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
247914
+ TaskConnection Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1 LIMIT 1
247915
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
247916
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247917
+  (0.8ms) rollback transaction
247918
+  (0.1ms) begin transaction
247919
+  (0.1ms) SAVEPOINT active_record_1
247920
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247921
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247922
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247923
+  (0.1ms) SAVEPOINT active_record_1
247924
+ SQL (1.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 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 22:57:08 UTC +00:00]]
247925
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247926
+  (0.1ms) SAVEPOINT active_record_1
247927
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247928
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
247929
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
247930
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247931
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247932
+  (0.1ms) SAVEPOINT active_record_1
247933
+ 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 22:57:08 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247934
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247935
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247936
+  (0.0ms) SAVEPOINT active_record_1
247937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247938
+  (0.0ms) SAVEPOINT active_record_1
247939
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247940
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247941
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247942
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
247943
+ Task Load (0.5ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247944
+ 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
247945
+  (0.8ms) rollback transaction
247946
+  (0.1ms) begin transaction
247947
+  (0.1ms) SAVEPOINT active_record_1
247948
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247949
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247950
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
247951
+  (0.0ms) SAVEPOINT active_record_1
247952
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 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 22:57:08 UTC +00:00]]
247953
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247954
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
247955
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
247956
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247957
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247958
+  (0.1ms) SAVEPOINT active_record_1
247959
+ 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 22:57:08 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247960
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247961
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247962
+  (0.0ms) SAVEPOINT active_record_1
247963
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247964
+  (0.0ms) SAVEPOINT active_record_1
247965
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247966
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247967
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
247968
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
247969
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247970
+ 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
247971
+  (0.8ms) rollback transaction
247972
+  (0.1ms) begin transaction
247973
+  (0.1ms) SAVEPOINT active_record_1
247974
+ SQL (1.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 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 22:57:08 UTC +00:00]]
247975
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247976
+  (0.0ms) SAVEPOINT active_record_1
247977
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247978
+  (0.2ms) UPDATE "moderations" SET "updated_at" = '2012-05-20 22:57:08.941069', "moderatable_id" = 1 WHERE "moderations"."id" = 1
247979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247980
+  (0.2ms) SELECT COUNT(*) FROM "subtasks"
247981
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247982
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
247983
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
247984
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
247985
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
247986
+  (0.1ms) SAVEPOINT active_record_1
247987
+ 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 22:57:08 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247988
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:08 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 20 May 2012 22:57:08 UTC +00:00]]
247989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247990
+  (0.0ms) SAVEPOINT active_record_1
247991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247992
+  (0.0ms) SAVEPOINT active_record_1
247993
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
247994
+  (0.1ms) RELEASE SAVEPOINT active_record_1
247995
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247996
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
247997
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
247998
+ 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
247999
+  (0.8ms) rollback transaction
248000
+  (0.1ms) begin transaction
248001
+  (0.1ms) SAVEPOINT active_record_1
248002
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248003
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248004
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248005
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248006
+  (0.1ms) SAVEPOINT active_record_1
248007
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 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 22:57:09 UTC +00:00]]
248008
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248009
+  (0.0ms) SAVEPOINT active_record_1
248010
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248011
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248012
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248013
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
248014
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248015
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248016
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248017
+  (0.1ms) SAVEPOINT active_record_1
248018
+ 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 22:57:09 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248020
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248021
+  (0.0ms) SAVEPOINT active_record_1
248022
+  (0.1ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 22:57:09.125357', "task_id" = 1 WHERE "subtasks"."id" = 1
248023
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248024
+  (0.0ms) SAVEPOINT active_record_1
248025
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248026
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248027
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248028
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248029
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248030
+  (0.8ms) rollback transaction
248031
+  (0.1ms) begin transaction
248032
+  (0.1ms) SAVEPOINT active_record_1
248033
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248034
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248035
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248036
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248037
+  (0.1ms) SAVEPOINT active_record_1
248038
+ 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 22:57:09 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248039
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248040
+  (0.1ms) SAVEPOINT active_record_1
248041
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248042
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248043
+  (0.1ms) SAVEPOINT active_record_1
248044
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248045
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248046
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248047
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248048
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248049
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248050
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
248051
+  (0.0ms) SAVEPOINT active_record_1
248052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248053
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248054
+  (0.0ms) SAVEPOINT active_record_1
248055
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 22:57:09.178640' WHERE "subtasks"."id" = 1
248056
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248057
+  (0.0ms) SAVEPOINT active_record_1
248058
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248060
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248061
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248062
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248063
+  (0.8ms) rollback transaction
248064
+  (0.1ms) begin transaction
248065
+  (0.1ms) SAVEPOINT active_record_1
248066
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248067
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248069
+  (0.1ms) SAVEPOINT active_record_1
248070
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 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 22:57:09 UTC +00:00]]
248071
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248072
+  (0.0ms) SAVEPOINT active_record_1
248073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248074
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248075
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248076
+  (0.1ms) SAVEPOINT active_record_1
248077
+ 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 22:57:09 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248079
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248080
+  (0.0ms) SAVEPOINT active_record_1
248081
+  (0.2ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-05-20 22:57:09.227190' WHERE "subtasks"."id" = 1
248082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248083
+  (0.0ms) SAVEPOINT active_record_1
248084
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248085
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248086
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248087
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248088
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248089
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248090
+  (0.1ms) SAVEPOINT active_record_1
248091
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248092
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248093
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248094
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248095
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248096
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248097
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248098
+  (0.0ms) SAVEPOINT active_record_1
248099
+  (0.2ms) UPDATE "subtasks" SET "updated_at" = '2012-05-20 22:57:09.246493', "task_id" = NULL WHERE "subtasks"."id" = 1
248100
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248101
+  (0.0ms) SAVEPOINT active_record_1
248102
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248103
+  (0.0ms) SAVEPOINT active_record_1
248104
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
248105
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248106
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248107
+ Subtask Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248108
+  (0.8ms) rollback transaction
248109
+  (0.1ms) begin transaction
248110
+  (0.1ms) SAVEPOINT active_record_1
248111
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 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 22:57:09 UTC +00:00]]
248112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248113
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
248114
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
248115
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248116
+  (0.0ms) SAVEPOINT active_record_1
248117
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248119
+  (0.0ms) SAVEPOINT active_record_1
248120
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248121
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248122
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
248123
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248124
+  (0.6ms) rollback transaction
248125
+  (0.1ms) begin transaction
248126
+  (0.1ms) SAVEPOINT active_record_1
248127
+ SQL (2.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 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 22:57:09 UTC +00:00]]
248128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248129
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
248130
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248131
+  (0.0ms) SAVEPOINT active_record_1
248132
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248134
+  (0.1ms) SAVEPOINT active_record_1
248135
+ 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 22:57:09 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248136
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248137
+  (0.0ms) SAVEPOINT active_record_1
248138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248139
+  (0.0ms) SAVEPOINT active_record_1
248140
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248141
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248142
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248143
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
248144
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248145
+ Subtask Load (0.2ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
248146
+  (0.8ms) rollback transaction
248147
+  (0.1ms) begin transaction
248148
+  (0.1ms) SAVEPOINT active_record_1
248149
+ SQL (0.7ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248150
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248151
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
248152
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248153
+  (0.1ms) SAVEPOINT active_record_1
248154
+ SQL (0.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["data", :destroy], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248156
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
248157
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248158
+ Task Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248159
+  (0.1ms) SAVEPOINT active_record_1
248160
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" WHERE "moderations"."moderatable_id" = 1 AND "moderations"."moderatable_type" = 'Task'
248161
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248162
+ SQL (0.1ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 1]]
248163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248164
+  (0.0ms) SAVEPOINT active_record_1
248165
+ SQL (0.0ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248166
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248167
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
248168
+  (0.7ms) rollback transaction
248169
+  (0.1ms) begin transaction
248170
+  (0.1ms) SAVEPOINT active_record_1
248171
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248172
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248173
+  (0.1ms) UPDATE "moderations" SET "updated_at" = '2012-05-20 22:57:09.492008', "moderatable_id" = 1 WHERE "moderations"."id" = 1
248174
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248175
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248176
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248177
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248178
+  (0.1ms) SAVEPOINT active_record_1
248179
+  (0.3ms) UPDATE "tasks" SET "updated_at" = '2012-05-20 22:57:09.498135', "title" = 'Task 1' WHERE "tasks"."id" = 1
248180
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248181
+  (0.0ms) SAVEPOINT active_record_1
248182
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
248183
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248184
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248185
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248186
+  (0.0ms) SAVEPOINT active_record_1
248187
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 2"}}], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248189
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248190
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248191
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248192
+  (0.1ms) SAVEPOINT active_record_1
248193
+  (0.2ms) UPDATE "tasks" SET "updated_at" = '2012-05-20 22:57:09.510563', "title" = 'Task 2' WHERE "tasks"."id" = 1
248194
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248195
+  (0.0ms) SAVEPOINT active_record_1
248196
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
248197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248198
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
248199
+  (0.7ms) rollback transaction
248200
+  (0.1ms) begin transaction
248201
+  (0.1ms) SAVEPOINT active_record_1
248202
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["data", {:create=>{:associations=>nil, :attributes=>{:test=>"ok"}}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248204
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248205
+  (0.7ms) rollback transaction
248206
+  (0.1ms) begin transaction
248207
+  (0.1ms) SAVEPOINT active_record_1
248208
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["data", "Test!"], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248209
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248210
+  (0.1ms) UPDATE "moderations" SET "updated_at" = '2012-05-20 22:57:09.658880', "moderatable_id" = 1 WHERE "moderations"."id" = 1
248211
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248212
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
248213
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248214
+  (0.8ms) rollback transaction
248215
+  (0.1ms) begin transaction
248216
+  (0.1ms) SAVEPOINT active_record_1
248217
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248218
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 20 May 2012 22:57:09 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 20 May 2012 22:57:09 UTC +00:00]]
248219
+  (0.1ms) UPDATE "moderations" SET "updated_at" = '2012-05-20 22:57:09.683824', "moderatable_id" = 1 WHERE "moderations"."id" = 1
248220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
248221
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248222
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
248223
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
248224
+ Task Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
248225
+  (0.8ms) rollback transaction