has_moderated 1.0.1 → 1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,13 +34,24 @@ module HasModerated
34
34
  record
35
35
  end
36
36
 
37
- def accept
37
+ def accept!
38
38
  record = apply
39
39
  accept_changes(record)
40
40
  self.destroy
41
41
  record
42
42
  end
43
43
 
44
+ def accept
45
+ begin
46
+ record = apply
47
+ accept_changes(record)
48
+ self.destroy
49
+ true
50
+ rescue
51
+ false
52
+ end
53
+ end
54
+
44
55
  def destroy_with_moderation_callbacks
45
56
  if moderatable_type
46
57
  klass = moderatable_type.constantize
@@ -55,8 +66,8 @@ module HasModerated
55
66
 
56
67
  def live_preview
57
68
  self.transaction do
58
- record = accept
59
- yield(record)
69
+ accept
70
+ yield(self.moderatable)
60
71
  raise ActiveRecord::Rollback
61
72
  end
62
73
  # self.frozen? now became true
@@ -1,3 +1,3 @@
1
1
  module HasModerated
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1"
3
3
  end
@@ -346857,3 +346857,3271 @@ Connecting to database specified by database.yml
346857
346857
   (0.1ms) SELECT COUNT(*) FROM "subtasks"
346858
346858
   (0.1ms) SELECT COUNT(*) FROM "moderations" 
346859
346859
   (0.6ms) rollback transaction
346860
+ Connecting to database specified by database.yml
346861
+  (0.5ms) begin transaction
346862
+  (0.1ms) SAVEPOINT active_record_1
346863
+ SQL (3.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "avatar"=>nil, "picture"=>nil, "parentable_id"=>nil, "parentable_type"=>nil, "title"=>nil, "created_at"=>nil, "updated_at"=>nil, "avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1630-801-7104/test.jpg"}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Photo2"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346864
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346865
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
346866
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
346867
+  (0.1ms) SAVEPOINT active_record_1
346868
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", "test.jpg"], ["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346870
+  (0.0ms) SAVEPOINT active_record_1
346871
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346872
+  (0.0ms) SAVEPOINT active_record_1
346873
+ SQL (0.2ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
346874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346875
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
346876
+ Photo2 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
346877
+  (1.0ms) rollback transaction
346878
+  (0.1ms) begin transaction
346879
+  (0.1ms) SAVEPOINT active_record_1
346880
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", "test.jpg"], ["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346881
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346882
+  (0.1ms) SELECT COUNT(*) FROM "photos"
346883
+ Photo3 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
346884
+  (0.5ms) rollback transaction
346885
+  (0.1ms) begin transaction
346886
+  (0.1ms) SAVEPOINT active_record_1
346887
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", nil], ["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346888
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["data", {:attributes=>{"avatar"=>nil}}], ["moderatable_id", 1], ["moderatable_type", "Photo4"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346889
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["data", {:attributes=>{"avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1630-801-3530/test.jpg"}}], ["moderatable_id", 1], ["moderatable_type", "Photo4"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346890
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346891
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
346892
+ Photo4 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
346893
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
346894
+ Photo4 Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = 1 LIMIT 1
346895
+  (0.1ms) SAVEPOINT active_record_1
346896
+ Photo4 Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 1]]
346897
+  (0.3ms) UPDATE "photos" SET "avatar" = 'test.jpg', "updated_at" = '2012-10-14 14:30:02.246782' WHERE "photos"."id" = 1
346898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346899
+  (0.0ms) SAVEPOINT active_record_1
346900
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
346901
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346902
+  (0.1ms) SELECT COUNT(*) FROM "photos"
346903
+ Photo4 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
346904
+  (10.7ms) rollback transaction
346905
+  (0.1ms) begin transaction
346906
+  (0.1ms) SAVEPOINT active_record_1
346907
+ SQL (0.7ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", nil], ["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346909
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
346910
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
346911
+  (0.0ms) SAVEPOINT active_record_1
346912
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["data", {:attributes=>{"avatar"=>nil}}], ["moderatable_id", 1], ["moderatable_type", "Photo5"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346913
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 1]]
346914
+  (0.1ms) UPDATE "photos" SET "avatar" = NULL, "updated_at" = '2012-10-14 14:30:02.353004' WHERE "photos"."id" = 1
346915
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["data", {:attributes=>{"avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1630-801-8599/test.jpg"}}], ["moderatable_id", 1], ["moderatable_type", "Photo5"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346916
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346917
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
346918
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = 1 LIMIT 1
346919
+  (0.1ms) SAVEPOINT active_record_1
346920
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 1]]
346921
+  (0.1ms) UPDATE "photos" SET "avatar" = 'test.jpg', "updated_at" = '2012-10-14 14:30:02.370582' WHERE "photos"."id" = 1
346922
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346923
+  (0.0ms) SAVEPOINT active_record_1
346924
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
346925
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346926
+  (0.1ms) SELECT COUNT(*) FROM "photos"
346927
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
346928
+  (2.1ms) rollback transaction
346929
+  (0.1ms) begin transaction
346930
+  (0.1ms) SAVEPOINT active_record_1
346931
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", nil], ["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346932
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["data", {:attributes=>{"avatar"=>nil}}], ["moderatable_id", 1], ["moderatable_type", "Photo6"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346933
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["data", {:attributes=>{"avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1630-801-1046/test.jpg"}}], ["moderatable_id", 1], ["moderatable_type", "Photo6"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346934
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346935
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
346936
+  (0.1ms) SAVEPOINT active_record_1
346937
+ SQL (0.2ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
346938
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346939
+  (1.6ms) rollback transaction
346940
+  (0.1ms) begin transaction
346941
+  (0.1ms) SAVEPOINT active_record_1
346942
+ SQL (2.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:photos=>[{"id"=>nil, "avatar"=>nil, "picture"=>nil, "parentable_id"=>nil, "parentable_type"=>nil, "title"=>nil, "created_at"=>nil, "updated_at"=>nil, "avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1630-801-2785/test.jpg"}]}}}], ["moderatable_id", nil], ["moderatable_type", "Task7"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346943
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346944
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
346945
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
346946
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
346947
+  (0.0ms) SAVEPOINT active_record_1
346948
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346950
+  (0.1ms) SAVEPOINT active_record_1
346951
+ SQL (0.3ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", "test.jpg"], ["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["parentable_id", 1], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346952
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346953
+ Task7 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
346954
+  (0.0ms) SAVEPOINT active_record_1
346955
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346956
+  (0.0ms) SAVEPOINT active_record_1
346957
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
346958
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346959
+ Task7 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
346960
+  (0.1ms) SELECT COUNT(*) FROM "photos" WHERE "photos"."parentable_id" = 1
346961
+ Task7 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
346962
+ Photo7 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."parentable_id" = 1 LIMIT 1
346963
+  (0.6ms) rollback transaction
346964
+  (0.1ms) begin transaction
346965
+  (0.1ms) SAVEPOINT active_record_1
346966
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}}], ["moderatable_id", nil], ["moderatable_type", "Task8"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346967
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346968
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
346969
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
346970
+  (0.1ms) SELECT COUNT(*) FROM "photos"
346971
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
346972
+  (0.0ms) SAVEPOINT active_record_1
346973
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346975
+  (0.0ms) SAVEPOINT active_record_1
346976
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346977
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346978
+ Task8 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
346979
+  (0.0ms) SAVEPOINT active_record_1
346980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346981
+  (0.0ms) SAVEPOINT active_record_1
346982
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
346983
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346984
+ Task8 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
346985
+  (0.1ms) SELECT COUNT(*) FROM "photos" WHERE "photos"."parentable_id" = 1
346986
+  (0.1ms) SELECT COUNT(*) FROM "photos"
346987
+  (0.6ms) rollback transaction
346988
+  (0.1ms) begin transaction
346989
+  (0.1ms) SAVEPOINT active_record_1
346990
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346992
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
346993
+  (0.0ms) SAVEPOINT active_record_1
346994
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task9"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
346995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346996
+ Task9 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
346997
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
346998
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
346999
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347000
+ Task9 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347001
+  (0.1ms) SAVEPOINT active_record_1
347002
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
347003
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347004
+ Task9 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347005
+  (0.0ms) SAVEPOINT active_record_1
347006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347007
+  (0.0ms) SAVEPOINT active_record_1
347008
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347010
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347011
+ Task9 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347012
+ Subtask9 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347013
+  (0.6ms) rollback transaction
347014
+  (0.1ms) begin transaction
347015
+  (0.1ms) SAVEPOINT active_record_1
347016
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
347017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347018
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347019
+  (0.1ms) SAVEPOINT active_record_1
347020
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task10"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
347021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347022
+  (0.0ms) SAVEPOINT active_record_1
347023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347024
+ Task10 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347025
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
347026
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347027
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347028
+ Task10 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347029
+  (0.1ms) SAVEPOINT active_record_1
347030
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
347031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347032
+ Task10 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347033
+  (0.0ms) SAVEPOINT active_record_1
347034
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347035
+  (0.0ms) SAVEPOINT active_record_1
347036
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347037
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347038
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347039
+ Task10 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347040
+ Subtask10 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347041
+  (0.6ms) rollback transaction
347042
+  (0.1ms) begin transaction
347043
+  (0.1ms) SAVEPOINT active_record_1
347044
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
347045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347046
+  (0.1ms) SAVEPOINT active_record_1
347047
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
347048
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347049
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347050
+ Subtask11 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
347051
+  (0.0ms) SAVEPOINT active_record_1
347052
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task11"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
347053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347054
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347055
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
347056
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347057
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347058
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347059
+ Subtask11 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
347060
+  (0.0ms) SAVEPOINT active_record_1
347061
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:30:02.872619' WHERE "subtasks"."id" = 1
347062
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347063
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347064
+  (0.0ms) SAVEPOINT active_record_1
347065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347066
+  (0.0ms) SAVEPOINT active_record_1
347067
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347068
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347069
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347070
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347071
+ Subtask11 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347072
+  (0.6ms) rollback transaction
347073
+  (0.1ms) begin transaction
347074
+  (0.1ms) SAVEPOINT active_record_1
347075
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
347076
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347077
+  (0.1ms) SAVEPOINT active_record_1
347078
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
347079
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347080
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347081
+ Subtask12 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
347082
+  (0.0ms) SAVEPOINT active_record_1
347083
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task12"], ["updated_at", Sun, 14 Oct 2012 14:30:02 UTC +00:00]]
347084
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347085
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347086
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
347087
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347088
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347089
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347090
+ Subtask12 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
347091
+  (0.1ms) SAVEPOINT active_record_1
347092
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:30:02.936296' WHERE "subtasks"."id" = 1
347093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347094
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347095
+  (0.0ms) SAVEPOINT active_record_1
347096
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347097
+  (0.0ms) SAVEPOINT active_record_1
347098
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347099
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347100
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347101
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347102
+ Subtask12 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347103
+  (0.6ms) rollback transaction
347104
+  (0.1ms) begin transaction
347105
+  (0.1ms) SAVEPOINT active_record_1
347106
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347107
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347108
+  (0.0ms) SAVEPOINT active_record_1
347109
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task13"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347110
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347111
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347112
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347113
+  (0.1ms) SAVEPOINT active_record_1
347114
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347116
+ Task13 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347117
+  (0.0ms) SAVEPOINT active_record_1
347118
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347119
+  (0.0ms) SAVEPOINT active_record_1
347120
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347121
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347122
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347123
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347124
+ Subtask13 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 ORDER BY "subtasks"."id" DESC LIMIT 1
347125
+  (0.0ms) SAVEPOINT active_record_1
347126
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task13"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347127
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347128
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347129
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
347130
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347131
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347132
+ Subtask13 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
347133
+  (0.0ms) SAVEPOINT active_record_1
347134
+ SQL (0.2ms) UPDATE "subtasks" SET "task_id" = NULL WHERE "subtasks"."task_id" = 1 AND "subtasks"."id" IN (1)
347135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347136
+  (0.0ms) SAVEPOINT active_record_1
347137
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347138
+  (0.0ms) SAVEPOINT active_record_1
347139
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
347140
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347141
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347142
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
347143
+  (0.6ms) rollback transaction
347144
+  (0.0ms) begin transaction
347145
+  (0.1ms) SAVEPOINT active_record_1
347146
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347147
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347148
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347149
+  (0.0ms) SAVEPOINT active_record_1
347150
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>1, "parentable_type"=>"Task14"}]}}], ["moderatable_id", 1], ["moderatable_type", "Task14"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347151
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347152
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347153
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task14'
347154
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347155
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347156
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347157
+  (0.1ms) SAVEPOINT active_record_1
347158
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["parentable_id", 1], ["parentable_type", "Task14"], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347159
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347160
+ Task14 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347161
+  (0.0ms) SAVEPOINT active_record_1
347162
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347163
+  (0.0ms) SAVEPOINT active_record_1
347164
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347166
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347167
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347168
+ Subtask14 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task14' LIMIT 1
347169
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347170
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347171
+  (0.5ms) rollback transaction
347172
+  (0.1ms) begin transaction
347173
+  (0.1ms) SAVEPOINT active_record_1
347174
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347175
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
347176
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347177
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347178
+  (0.1ms) SAVEPOINT active_record_1
347179
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task15"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347180
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347181
+  (0.0ms) SAVEPOINT active_record_1
347182
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347183
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347184
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
347185
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347186
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347187
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347188
+  (0.1ms) SAVEPOINT active_record_1
347189
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347191
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
347192
+  (0.0ms) SAVEPOINT active_record_1
347193
+  (0.1ms) UPDATE "subtasks" SET "parentable_id" = 1, "parentable_type" = 'Task15', "updated_at" = '2012-10-14 14:30:03.181249' WHERE "subtasks"."id" = 1
347194
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347195
+  (0.0ms) SAVEPOINT active_record_1
347196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347197
+  (0.0ms) SAVEPOINT active_record_1
347198
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347200
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347201
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347202
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
347203
+ Task15 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347204
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347205
+  (0.7ms) rollback transaction
347206
+  (0.1ms) begin transaction
347207
+  (0.1ms) SAVEPOINT active_record_1
347208
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347210
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347211
+  (0.0ms) SAVEPOINT active_record_1
347212
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task16"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347214
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
347215
+ Task16 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347216
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
347217
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347218
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347219
+ Task16 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347220
+  (0.1ms) SAVEPOINT active_record_1
347221
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347222
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
347223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347224
+ Task16 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347225
+  (0.0ms) SAVEPOINT active_record_1
347226
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347227
+  (0.0ms) SAVEPOINT active_record_1
347228
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347229
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347230
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347231
+ Task16 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347232
+ Subtask16 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
347233
+  (0.6ms) rollback transaction
347234
+  (0.1ms) begin transaction
347235
+  (0.1ms) SAVEPOINT active_record_1
347236
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347237
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347238
+  (0.1ms) SAVEPOINT active_record_1
347239
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347240
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347241
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347242
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
347243
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
347244
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347245
+ Subtask17 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
347246
+  (0.0ms) SAVEPOINT active_record_1
347247
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task17"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347249
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347250
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347251
+ Task17 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347252
+ Subtask17 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
347253
+  (0.0ms) SAVEPOINT active_record_1
347254
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
347255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347256
+  (0.0ms) SAVEPOINT active_record_1
347257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347258
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347259
+  (0.0ms) SAVEPOINT active_record_1
347260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347261
+  (0.0ms) SAVEPOINT active_record_1
347262
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347264
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347265
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347266
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
347267
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347268
+ Subtask17 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
347269
+  (0.6ms) rollback transaction
347270
+  (0.1ms) begin transaction
347271
+  (0.1ms) SAVEPOINT active_record_1
347272
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347273
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347274
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
347275
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347276
+ Subtask18 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
347277
+  (0.1ms) SAVEPOINT active_record_1
347278
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task18"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347280
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347281
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347282
+  (0.1ms) SAVEPOINT active_record_1
347283
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347284
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347285
+ Subtask18 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
347286
+  (0.0ms) SAVEPOINT active_record_1
347287
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
347288
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347289
+  (0.0ms) SAVEPOINT active_record_1
347290
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347291
+ Task18 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347292
+  (0.0ms) SAVEPOINT active_record_1
347293
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347294
+  (0.0ms) SAVEPOINT active_record_1
347295
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347297
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347298
+ Task18 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347299
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
347300
+ Task18 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347301
+ Subtask18 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
347302
+  (0.6ms) rollback transaction
347303
+  (0.0ms) begin transaction
347304
+  (0.1ms) SAVEPOINT active_record_1
347305
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347307
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
347308
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347309
+ Subtask19 Load (0.2ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
347310
+  (0.1ms) SAVEPOINT active_record_1
347311
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task19"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347312
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347313
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
347314
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347315
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347316
+  (0.0ms) SAVEPOINT active_record_1
347317
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347318
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347319
+ Subtask19 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
347320
+  (0.0ms) SAVEPOINT active_record_1
347321
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
347322
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347323
+  (0.0ms) SAVEPOINT active_record_1
347324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347325
+ Task19 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347326
+  (0.0ms) SAVEPOINT active_record_1
347327
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347328
+  (0.0ms) SAVEPOINT active_record_1
347329
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347331
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347332
+ Task19 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347333
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
347334
+ Task19 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347335
+ Subtask19 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
347336
+  (0.6ms) rollback transaction
347337
+  (0.1ms) begin transaction
347338
+  (0.1ms) SAVEPOINT active_record_1
347339
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347341
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347342
+  (0.1ms) SAVEPOINT active_record_1
347343
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"id"=>nil, "title"=>"Connection 1", "m1_id"=>nil, "m2_id"=>nil, "created_at"=>nil, "updated_at"=>nil, :associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}]}}], ["moderatable_id", 1], ["moderatable_type", "Task20"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347344
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347345
+  (0.0ms) SAVEPOINT active_record_1
347346
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347347
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
347348
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
347349
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347350
+ Task20 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347351
+  (0.1ms) SAVEPOINT active_record_1
347352
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347353
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347354
+  (0.0ms) SAVEPOINT active_record_1
347355
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347356
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347357
+ Task20 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347358
+  (0.0ms) SAVEPOINT active_record_1
347359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347360
+  (0.0ms) SAVEPOINT active_record_1
347361
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347362
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347363
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347364
+ Task20 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347365
+ Subtask20 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
347366
+ Subtask20 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
347367
+ TaskConnection20 Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1 LIMIT 1
347368
+ Subtask20 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
347369
+ Task20 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347370
+  (0.6ms) rollback transaction
347371
+  (0.1ms) begin transaction
347372
+  (0.1ms) SAVEPOINT active_record_1
347373
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347375
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347376
+  (0.1ms) SAVEPOINT active_record_1
347377
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task21"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347379
+  (0.0ms) SAVEPOINT active_record_1
347380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347381
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
347382
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
347383
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347384
+ Task21 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347385
+  (0.1ms) SAVEPOINT active_record_1
347386
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347387
+ SQL (0.4ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347388
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347389
+ Task21 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347390
+  (0.0ms) SAVEPOINT active_record_1
347391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347392
+  (0.0ms) SAVEPOINT active_record_1
347393
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347395
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347396
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
347397
+ Task21 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347398
+ Subtask21 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
347399
+  (0.6ms) rollback transaction
347400
+  (0.1ms) begin transaction
347401
+  (0.1ms) SAVEPOINT active_record_1
347402
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347403
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347404
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347405
+  (0.0ms) SAVEPOINT active_record_1
347406
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task22"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347407
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347408
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
347409
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
347410
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347411
+ Task22 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347412
+  (0.1ms) SAVEPOINT active_record_1
347413
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347414
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347415
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347416
+ Task22 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347417
+  (0.0ms) SAVEPOINT active_record_1
347418
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347419
+  (0.0ms) SAVEPOINT active_record_1
347420
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347421
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347422
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347423
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
347424
+ Task22 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347425
+ Subtask22 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
347426
+  (0.6ms) rollback transaction
347427
+  (0.1ms) begin transaction
347428
+  (0.1ms) SAVEPOINT active_record_1
347429
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347430
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task23"], ["updated_at", Sun, 14 Oct 2012 14:30:03 UTC +00:00]]
347431
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347432
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
347433
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347434
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347435
+  (0.2ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
347436
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
347437
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347438
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347439
+  (0.1ms) SAVEPOINT active_record_1
347440
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347441
+ SQL (0.4ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347442
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347443
+ Task23 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347444
+  (0.0ms) SAVEPOINT active_record_1
347445
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347446
+  (0.0ms) SAVEPOINT active_record_1
347447
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347449
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347450
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
347451
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347452
+ Subtask23 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
347453
+  (0.6ms) rollback transaction
347454
+  (0.1ms) begin transaction
347455
+  (0.1ms) SAVEPOINT active_record_1
347456
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347457
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347458
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347459
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347460
+  (0.1ms) SAVEPOINT active_record_1
347461
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task24"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347463
+  (0.0ms) SAVEPOINT active_record_1
347464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347465
+ Task24 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347466
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347467
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
347468
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347469
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347470
+ Task24 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347471
+  (0.1ms) SAVEPOINT active_record_1
347472
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347474
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347475
+  (0.0ms) SAVEPOINT active_record_1
347476
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:30:04.148578' WHERE "subtasks"."id" = 1
347477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347478
+  (0.0ms) SAVEPOINT active_record_1
347479
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347480
+  (0.0ms) SAVEPOINT active_record_1
347481
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347483
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347484
+ Task24 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347485
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347486
+  (0.6ms) rollback transaction
347487
+  (0.1ms) begin transaction
347488
+  (0.1ms) SAVEPOINT active_record_1
347489
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347490
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347492
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347493
+  (0.1ms) SAVEPOINT active_record_1
347494
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347496
+  (0.0ms) SAVEPOINT active_record_1
347497
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task25"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347498
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347499
+  (0.0ms) SAVEPOINT active_record_1
347500
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347501
+ Task25 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347502
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347503
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347504
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347505
+ Task25 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347506
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
347507
+  (0.0ms) SAVEPOINT active_record_1
347508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347509
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347510
+  (0.0ms) SAVEPOINT active_record_1
347511
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:30:04.210004' WHERE "subtasks"."id" = 1
347512
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347513
+  (0.0ms) SAVEPOINT active_record_1
347514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347515
+  (0.0ms) SAVEPOINT active_record_1
347516
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347518
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347519
+ Task25 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347520
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347521
+  (0.6ms) rollback transaction
347522
+  (0.1ms) begin transaction
347523
+  (0.1ms) SAVEPOINT active_record_1
347524
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347525
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347526
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347527
+  (0.1ms) SAVEPOINT active_record_1
347528
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task26"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347529
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347530
+  (0.0ms) SAVEPOINT active_record_1
347531
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347532
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347533
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347534
+  (0.1ms) SAVEPOINT active_record_1
347535
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347536
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347537
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347538
+  (0.0ms) SAVEPOINT active_record_1
347539
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:30:04.322571' WHERE "subtasks"."id" = 1
347540
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347541
+  (0.0ms) SAVEPOINT active_record_1
347542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347543
+  (0.0ms) SAVEPOINT active_record_1
347544
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347545
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347546
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347547
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347548
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347549
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347550
+  (0.0ms) SAVEPOINT active_record_1
347551
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task26"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347553
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347554
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347555
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347556
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347557
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347558
+  (0.0ms) SAVEPOINT active_record_1
347559
+  (0.1ms) UPDATE "subtasks" SET "task_id" = NULL, "updated_at" = '2012-10-14 14:30:04.338633' WHERE "subtasks"."id" = 1
347560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347561
+  (0.0ms) SAVEPOINT active_record_1
347562
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347563
+  (0.0ms) SAVEPOINT active_record_1
347564
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347565
+  (0.0ms) SAVEPOINT active_record_1
347566
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
347567
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347568
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347569
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347570
+  (0.6ms) rollback transaction
347571
+  (0.1ms) begin transaction
347572
+  (0.1ms) SAVEPOINT active_record_1
347573
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347575
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
347576
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347577
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
347578
+  (0.1ms) SAVEPOINT active_record_1
347579
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347580
+  (0.0ms) SAVEPOINT active_record_1
347581
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtask=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task27"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347583
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
347584
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
347585
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347586
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347587
+  (0.1ms) SAVEPOINT active_record_1
347588
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347589
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347591
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
347592
+  (0.0ms) SAVEPOINT active_record_1
347593
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347594
+  (0.0ms) SAVEPOINT active_record_1
347595
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:30:04.397124' WHERE "subtasks"."id" = 1
347596
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347597
+  (0.0ms) SAVEPOINT active_record_1
347598
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347599
+  (0.0ms) SAVEPOINT active_record_1
347600
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347602
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347603
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
347604
+ Task27 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347605
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347606
+  (0.6ms) rollback transaction
347607
+  (0.1ms) begin transaction
347608
+  (0.1ms) SAVEPOINT active_record_1
347609
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347611
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
347612
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347613
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
347614
+  (0.1ms) SAVEPOINT active_record_1
347615
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347616
+  (0.0ms) SAVEPOINT active_record_1
347617
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtask=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task28"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347618
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347619
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
347620
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
347621
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347622
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347623
+  (0.0ms) SAVEPOINT active_record_1
347624
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347625
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347626
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
347627
+  (0.0ms) SAVEPOINT active_record_1
347628
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347629
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347630
+  (0.0ms) SAVEPOINT active_record_1
347631
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:30:04.454919' WHERE "subtasks"."id" = 1
347632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347633
+  (0.0ms) SAVEPOINT active_record_1
347634
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347635
+  (0.0ms) SAVEPOINT active_record_1
347636
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347637
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347638
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
347639
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
347640
+ Task28 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347641
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347642
+  (0.6ms) rollback transaction
347643
+  (0.1ms) begin transaction
347644
+  (0.1ms) SAVEPOINT active_record_1
347645
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{}}}], ["moderatable_id", nil], ["moderatable_type", "Task29"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347647
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347648
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
347649
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347650
+  (0.1ms) SAVEPOINT active_record_1
347651
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347652
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347653
+  (0.0ms) SAVEPOINT active_record_1
347654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347655
+  (0.0ms) SAVEPOINT active_record_1
347656
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347657
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347658
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
347659
+ Task29 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347660
+  (0.5ms) rollback transaction
347661
+  (0.1ms) begin transaction
347662
+  (0.1ms) SAVEPOINT active_record_1
347663
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}}], ["moderatable_id", nil], ["moderatable_type", "Task30"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347664
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347665
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
347666
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347667
+  (0.1ms) SAVEPOINT active_record_1
347668
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347669
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347670
+  (0.0ms) SAVEPOINT active_record_1
347671
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347672
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347673
+ Task30 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347674
+  (0.0ms) SAVEPOINT active_record_1
347675
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347676
+  (0.0ms) SAVEPOINT active_record_1
347677
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347679
+ Task30 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347680
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
347681
+ Task30 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347682
+ Subtask30 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
347683
+  (0.5ms) rollback transaction
347684
+  (0.1ms) begin transaction
347685
+  (0.1ms) SAVEPOINT active_record_1
347686
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{}}}], ["moderatable_id", nil], ["moderatable_type", "Task31"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347687
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347688
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347689
+  (0.0ms) SAVEPOINT active_record_1
347690
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347691
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347692
+  (0.0ms) SAVEPOINT active_record_1
347693
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347694
+  (0.0ms) SAVEPOINT active_record_1
347695
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347696
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347697
+ Task31 Load (0.2ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347698
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
347699
+  (0.5ms) rollback transaction
347700
+  (0.1ms) begin transaction
347701
+  (0.1ms) SAVEPOINT active_record_1
347702
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347704
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
347705
+ Task32 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347706
+  (0.1ms) SAVEPOINT active_record_1
347707
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:destroy=>true}], ["moderatable_id", 1], ["moderatable_type", "Task32"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347708
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347709
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
347710
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347711
+ Task32 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347712
+  (0.0ms) SAVEPOINT active_record_1
347713
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" WHERE "moderations"."moderatable_id" = 1 AND "moderations"."moderatable_type" = 'Task32'
347714
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347715
+ SQL (0.1ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 1]]
347716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347717
+  (0.0ms) SAVEPOINT active_record_1
347718
+ SQL (0.0ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347719
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347720
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
347721
+  (0.5ms) rollback transaction
347722
+  (0.1ms) begin transaction
347723
+  (0.1ms) SAVEPOINT active_record_1
347724
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", "Description"], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347725
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task33"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347726
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347727
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347728
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347729
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347730
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347731
+  (0.0ms) SAVEPOINT active_record_1
347732
+  (0.4ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:30:04.724576' WHERE "tasks"."id" = 1
347733
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347734
+  (0.0ms) SAVEPOINT active_record_1
347735
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347736
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347737
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347738
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347739
+  (0.0ms) SAVEPOINT active_record_1
347740
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 2"}}], ["moderatable_id", 1], ["moderatable_type", "Task33"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347742
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347743
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347744
+ Task33 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347745
+  (0.0ms) SAVEPOINT active_record_1
347746
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 2', "updated_at" = '2012-10-14 14:30:04.794128' WHERE "tasks"."id" = 1
347747
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347748
+  (0.0ms) SAVEPOINT active_record_1
347749
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
347750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347751
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
347752
+  (0.6ms) rollback transaction
347753
+  (0.1ms) begin transaction
347754
+  (0.1ms) SAVEPOINT active_record_1
347755
+ Task34 Exists (0.2ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
347756
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
347757
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347758
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task34"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347760
+  (0.0ms) SAVEPOINT active_record_1
347761
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
347762
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
347763
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347764
+ SQL (0.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 2], ["moderatable_type", "Task34"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347765
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347766
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" LIMIT 1
347767
+ Task34 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347768
+  (0.1ms) SAVEPOINT active_record_1
347769
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 1) LIMIT 1
347770
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 1) LIMIT 1
347771
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:30:04.846248' WHERE "tasks"."id" = 1
347772
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347773
+  (0.0ms) SAVEPOINT active_record_1
347774
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347776
+  (0.1ms) SAVEPOINT active_record_1
347777
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
347778
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
347779
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" LIMIT 1
347780
+ Task34 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 2 LIMIT 1
347781
+  (0.0ms) SAVEPOINT active_record_1
347782
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 2) LIMIT 1
347783
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
347784
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" LIMIT 1
347785
+ Task34 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 2 LIMIT 1
347786
+  (0.0ms) SAVEPOINT active_record_1
347787
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 2) LIMIT 1
347788
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
347789
+  (0.5ms) rollback transaction
347790
+  (0.1ms) begin transaction
347791
+  (0.1ms) SAVEPOINT active_record_1
347792
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:create=>{:attributes=>{:test=>"ok"}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Task35"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347794
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347795
+  (0.4ms) rollback transaction
347796
+  (0.1ms) begin transaction
347797
+  (0.1ms) SAVEPOINT active_record_1
347798
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Task36"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347800
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347801
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347802
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347803
+  (0.5ms) rollback transaction
347804
+  (0.1ms) begin transaction
347805
+  (0.1ms) SAVEPOINT active_record_1
347806
+ SQL (56.9ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:04 UTC +00:00]]
347807
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347808
+ Task37 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347809
+  (0.1ms) SAVEPOINT active_record_1
347810
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["data", {:destroy=>true}], ["moderatable_id", 1], ["moderatable_type", "Task37"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347811
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347812
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347813
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347814
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347815
+  (0.6ms) rollback transaction
347816
+  (0.1ms) begin transaction
347817
+  (0.1ms) SAVEPOINT active_record_1
347818
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>nil, "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Task38"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347819
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347820
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347821
+  (0.5ms) rollback transaction
347822
+  (0.0ms) begin transaction
347823
+  (0.1ms) SAVEPOINT active_record_1
347824
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347825
+ SQL (0.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["data", "Test!"], ["moderatable_id", 1], ["moderatable_type", "Task39"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347826
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347827
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
347828
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347829
+  (0.5ms) rollback transaction
347830
+  (0.1ms) begin transaction
347831
+  (0.1ms) SAVEPOINT active_record_1
347832
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347833
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task40"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347834
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347835
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347836
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347837
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347838
+  (0.0ms) SAVEPOINT active_record_1
347839
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347840
+  (0.3ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:30:05.113610' WHERE "tasks"."id" = 1
347841
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347842
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
347843
+  (0.6ms) rollback transaction
347844
+  (0.1ms) begin transaction
347845
+  (0.1ms) SAVEPOINT active_record_1
347846
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347847
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task41"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347848
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347849
+ Task41 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347850
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347851
+  (0.0ms) SAVEPOINT active_record_1
347852
+ Task41 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347853
+  (0.4ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:30:05.153439' WHERE "tasks"."id" = 1
347854
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347855
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
347856
+  (0.5ms) rollback transaction
347857
+  (0.1ms) begin transaction
347858
+  (0.1ms) SAVEPOINT active_record_1
347859
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347860
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task42"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347862
+ Task42 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347863
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347864
+  (0.0ms) SAVEPOINT active_record_1
347865
+ Task42 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347866
+  (0.4ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:30:05.190679' WHERE "tasks"."id" = 1
347867
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347868
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
347869
+  (0.6ms) rollback transaction
347870
+  (0.0ms) begin transaction
347871
+  (0.1ms) SAVEPOINT active_record_1
347872
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347873
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task43"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347874
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347875
+ Task43 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347876
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347877
+  (0.0ms) SAVEPOINT active_record_1
347878
+ Task43 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347879
+  (0.3ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:30:05.286592' WHERE "tasks"."id" = 1
347880
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347881
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
347882
+  (0.6ms) rollback transaction
347883
+  (0.1ms) begin transaction
347884
+  (0.1ms) SAVEPOINT active_record_1
347885
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347886
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task44"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347887
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347888
+ Task44 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
347889
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347890
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347891
+  (0.0ms) SAVEPOINT active_record_1
347892
+ Task44 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347893
+  (0.3ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:30:05.323726' WHERE "tasks"."id" = 1
347894
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347895
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
347896
+  (0.6ms) rollback transaction
347897
+  (0.1ms) begin transaction
347898
+  (0.1ms) SAVEPOINT active_record_1
347899
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347900
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347901
+  (0.0ms) SAVEPOINT active_record_1
347902
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task45"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347904
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347905
+  (0.0ms) SAVEPOINT active_record_1
347906
+ Task45 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347907
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347908
+ Task45 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347909
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347910
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
347911
+  (0.5ms) rollback transaction
347912
+  (0.1ms) begin transaction
347913
+  (0.1ms) SAVEPOINT active_record_1
347914
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347915
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347916
+  (0.1ms) SAVEPOINT active_record_1
347917
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"id"=>nil, "title"=>"Connection 1", "m1_id"=>nil, "m2_id"=>nil, "created_at"=>nil, "updated_at"=>nil, :associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}]}}], ["moderatable_id", 1], ["moderatable_type", "Task46"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347918
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347919
+  (0.0ms) SAVEPOINT active_record_1
347920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347921
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
347922
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
347923
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347924
+  (0.0ms) SAVEPOINT active_record_1
347925
+ Task46 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
347926
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347927
+ SQL (0.2ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 14 Oct 2012 14:30:05 UTC +00:00]]
347928
+ Task46 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
347929
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347930
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
347931
+  (0.6ms) rollback transaction
347932
+ Connecting to database specified by database.yml
347933
+  (0.5ms) begin transaction
347934
+  (0.1ms) SAVEPOINT active_record_1
347935
+ SQL (3.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:40 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "avatar"=>nil, "picture"=>nil, "parentable_id"=>nil, "parentable_type"=>nil, "title"=>nil, "created_at"=>nil, "updated_at"=>nil, "avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1631-811-8055/test.jpg"}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Photo2"], ["updated_at", Sun, 14 Oct 2012 14:31:40 UTC +00:00]]
347936
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347937
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
347938
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347939
+  (0.1ms) SAVEPOINT active_record_1
347940
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", "test.jpg"], ["created_at", Sun, 14 Oct 2012 14:31:40 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:40 UTC +00:00]]
347941
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347942
+  (0.0ms) SAVEPOINT active_record_1
347943
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347944
+  (0.0ms) SAVEPOINT active_record_1
347945
+ SQL (0.2ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
347946
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347947
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
347948
+ Photo2 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
347949
+  (0.6ms) rollback transaction
347950
+  (0.1ms) begin transaction
347951
+  (0.1ms) SAVEPOINT active_record_1
347952
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", "test.jpg"], ["created_at", Sun, 14 Oct 2012 14:31:40 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:40 UTC +00:00]]
347953
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347954
+  (0.1ms) SELECT COUNT(*) FROM "photos"
347955
+ Photo3 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
347956
+  (0.5ms) rollback transaction
347957
+  (0.1ms) begin transaction
347958
+  (0.1ms) SAVEPOINT active_record_1
347959
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", nil], ["created_at", Sun, 14 Oct 2012 14:31:40 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:40 UTC +00:00]]
347960
+ SQL (0.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:attributes=>{"avatar"=>nil}}], ["moderatable_id", 1], ["moderatable_type", "Photo4"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
347961
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:attributes=>{"avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1631-811-6766/test.jpg"}}], ["moderatable_id", 1], ["moderatable_type", "Photo4"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
347962
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347963
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
347964
+ Photo4 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
347965
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347966
+ Photo4 Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = 1 LIMIT 1
347967
+  (0.1ms) SAVEPOINT active_record_1
347968
+ Photo4 Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 1]]
347969
+  (0.3ms) UPDATE "photos" SET "avatar" = 'test.jpg', "updated_at" = '2012-10-14 14:31:41.027258' WHERE "photos"."id" = 1
347970
+  (0.1ms) RELEASE SAVEPOINT active_record_1
347971
+  (0.0ms) SAVEPOINT active_record_1
347972
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
347973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347974
+  (0.1ms) SELECT COUNT(*) FROM "photos"
347975
+ Photo4 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
347976
+  (0.5ms) rollback transaction
347977
+  (0.1ms) begin transaction
347978
+  (0.1ms) SAVEPOINT active_record_1
347979
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", nil], ["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
347980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347981
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
347982
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
347983
+  (0.1ms) SAVEPOINT active_record_1
347984
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:attributes=>{"avatar"=>nil}}], ["moderatable_id", 1], ["moderatable_type", "Photo5"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
347985
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 1]]
347986
+  (0.1ms) UPDATE "photos" SET "avatar" = NULL, "updated_at" = '2012-10-14 14:31:41.121690' WHERE "photos"."id" = 1
347987
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:attributes=>{"avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1631-811-2140/test.jpg"}}], ["moderatable_id", 1], ["moderatable_type", "Photo5"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
347988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347989
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
347990
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = 1 LIMIT 1
347991
+  (0.1ms) SAVEPOINT active_record_1
347992
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 1]]
347993
+  (0.1ms) UPDATE "photos" SET "avatar" = 'test.jpg', "updated_at" = '2012-10-14 14:31:41.138934' WHERE "photos"."id" = 1
347994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347995
+  (0.0ms) SAVEPOINT active_record_1
347996
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
347997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
347998
+  (0.1ms) SELECT COUNT(*) FROM "photos"
347999
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
348000
+  (0.5ms) rollback transaction
348001
+  (0.1ms) begin transaction
348002
+  (0.1ms) SAVEPOINT active_record_1
348003
+ SQL (0.6ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", nil], ["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348004
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:attributes=>{"avatar"=>nil}}], ["moderatable_id", 1], ["moderatable_type", "Photo6"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348005
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:attributes=>{"avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1631-811-0314/test.jpg"}}], ["moderatable_id", 1], ["moderatable_type", "Photo6"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348007
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348008
+  (0.0ms) SAVEPOINT active_record_1
348009
+ SQL (0.2ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
348010
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348011
+  (0.5ms) rollback transaction
348012
+  (0.1ms) begin transaction
348013
+  (0.1ms) SAVEPOINT active_record_1
348014
+ SQL (2.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:photos=>[{"id"=>nil, "avatar"=>nil, "picture"=>nil, "parentable_id"=>nil, "parentable_type"=>nil, "title"=>nil, "created_at"=>nil, "updated_at"=>nil, "avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1631-811-1226/test.jpg"}]}}}], ["moderatable_id", nil], ["moderatable_type", "Task7"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348016
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
348017
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
348018
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348019
+  (0.0ms) SAVEPOINT active_record_1
348020
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348022
+  (0.1ms) SAVEPOINT active_record_1
348023
+ SQL (0.3ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", "test.jpg"], ["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["parentable_id", 1], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348024
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348025
+ Task7 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348026
+  (0.0ms) SAVEPOINT active_record_1
348027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348028
+  (0.0ms) SAVEPOINT active_record_1
348029
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348031
+ Task7 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348032
+  (0.1ms) SELECT COUNT(*) FROM "photos" WHERE "photos"."parentable_id" = 1
348033
+ Task7 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348034
+ Photo7 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."parentable_id" = 1 LIMIT 1
348035
+  (0.7ms) rollback transaction
348036
+  (0.1ms) begin transaction
348037
+  (0.1ms) SAVEPOINT active_record_1
348038
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}}], ["moderatable_id", nil], ["moderatable_type", "Task8"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348039
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348040
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348041
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
348042
+  (0.1ms) SELECT COUNT(*) FROM "photos"
348043
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348044
+  (0.0ms) SAVEPOINT active_record_1
348045
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348046
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348047
+  (0.0ms) SAVEPOINT active_record_1
348048
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348049
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348050
+ Task8 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348051
+  (0.0ms) SAVEPOINT active_record_1
348052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348053
+  (0.0ms) SAVEPOINT active_record_1
348054
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348056
+ Task8 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348057
+  (0.1ms) SELECT COUNT(*) FROM "photos" WHERE "photos"."parentable_id" = 1
348058
+  (0.1ms) SELECT COUNT(*) FROM "photos"
348059
+  (0.5ms) rollback transaction
348060
+  (0.1ms) begin transaction
348061
+  (0.1ms) SAVEPOINT active_record_1
348062
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348064
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348065
+  (0.0ms) SAVEPOINT active_record_1
348066
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task9"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348067
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348068
+ Task9 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348069
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
348070
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348071
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348072
+ Task9 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348073
+  (0.1ms) SAVEPOINT active_record_1
348074
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348075
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348076
+ Task9 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348077
+  (0.0ms) SAVEPOINT active_record_1
348078
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348079
+  (0.0ms) SAVEPOINT active_record_1
348080
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348081
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348082
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348083
+ Task9 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348084
+ Subtask9 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348085
+  (0.6ms) rollback transaction
348086
+  (0.1ms) begin transaction
348087
+  (0.1ms) SAVEPOINT active_record_1
348088
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348089
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348090
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348091
+  (0.1ms) SAVEPOINT active_record_1
348092
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task10"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348094
+  (0.0ms) SAVEPOINT active_record_1
348095
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348096
+ Task10 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348097
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
348098
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348099
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348100
+ Task10 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348101
+  (0.1ms) SAVEPOINT active_record_1
348102
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348104
+ Task10 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348105
+  (0.1ms) SAVEPOINT active_record_1
348106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348107
+  (0.0ms) SAVEPOINT active_record_1
348108
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348109
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348110
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348111
+ Task10 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348112
+ Subtask10 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348113
+  (0.6ms) rollback transaction
348114
+  (0.1ms) begin transaction
348115
+  (0.1ms) SAVEPOINT active_record_1
348116
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348117
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348118
+  (0.1ms) SAVEPOINT active_record_1
348119
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348121
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348122
+ Subtask11 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
348123
+  (0.0ms) SAVEPOINT active_record_1
348124
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task11"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348125
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348126
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348127
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
348128
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348129
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348130
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348131
+ Subtask11 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
348132
+  (0.0ms) SAVEPOINT active_record_1
348133
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:31:41.630473' WHERE "subtasks"."id" = 1
348134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348135
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348136
+  (0.0ms) SAVEPOINT active_record_1
348137
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348138
+  (0.0ms) SAVEPOINT active_record_1
348139
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348140
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348141
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348142
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348143
+ Subtask11 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348144
+  (0.6ms) rollback transaction
348145
+  (0.1ms) begin transaction
348146
+  (0.1ms) SAVEPOINT active_record_1
348147
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348149
+  (0.1ms) SAVEPOINT active_record_1
348150
+ SQL (0.6ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348151
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348152
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348153
+ Subtask12 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
348154
+  (0.0ms) SAVEPOINT active_record_1
348155
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task12"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348157
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348158
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
348159
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348160
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348161
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348162
+ Subtask12 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
348163
+  (0.1ms) SAVEPOINT active_record_1
348164
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:31:41.693076' WHERE "subtasks"."id" = 1
348165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348166
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348167
+  (0.0ms) SAVEPOINT active_record_1
348168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348169
+  (0.0ms) SAVEPOINT active_record_1
348170
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348171
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348172
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348173
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348174
+ Subtask12 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348175
+  (0.6ms) rollback transaction
348176
+  (0.1ms) begin transaction
348177
+  (0.1ms) SAVEPOINT active_record_1
348178
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348180
+  (0.0ms) SAVEPOINT active_record_1
348181
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task13"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348183
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348184
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348185
+  (0.1ms) SAVEPOINT active_record_1
348186
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348187
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348188
+ Task13 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348189
+  (0.0ms) SAVEPOINT active_record_1
348190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348191
+  (0.0ms) SAVEPOINT active_record_1
348192
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348194
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348195
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348196
+ Subtask13 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 ORDER BY "subtasks"."id" DESC LIMIT 1
348197
+  (0.0ms) SAVEPOINT active_record_1
348198
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task13"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348200
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348201
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
348202
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348203
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348204
+ Subtask13 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
348205
+  (0.0ms) SAVEPOINT active_record_1
348206
+ SQL (0.2ms) UPDATE "subtasks" SET "task_id" = NULL WHERE "subtasks"."task_id" = 1 AND "subtasks"."id" IN (1)
348207
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348208
+  (0.0ms) SAVEPOINT active_record_1
348209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348210
+  (0.0ms) SAVEPOINT active_record_1
348211
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
348212
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348213
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348214
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
348215
+  (0.6ms) rollback transaction
348216
+  (0.0ms) begin transaction
348217
+  (0.1ms) SAVEPOINT active_record_1
348218
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348219
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348220
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348221
+  (0.0ms) SAVEPOINT active_record_1
348222
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>1, "parentable_type"=>"Task14"}]}}], ["moderatable_id", 1], ["moderatable_type", "Task14"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348224
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348225
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task14'
348226
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348227
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348228
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348229
+  (0.0ms) SAVEPOINT active_record_1
348230
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["parentable_id", 1], ["parentable_type", "Task14"], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348231
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348232
+ Task14 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348233
+  (0.0ms) SAVEPOINT active_record_1
348234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348235
+  (0.0ms) SAVEPOINT active_record_1
348236
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348237
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348238
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348239
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348240
+ Subtask14 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task14' LIMIT 1
348241
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348242
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348243
+  (0.6ms) rollback transaction
348244
+  (0.1ms) begin transaction
348245
+  (0.1ms) SAVEPOINT active_record_1
348246
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348247
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
348248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348249
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348250
+  (0.1ms) SAVEPOINT active_record_1
348251
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task15"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348252
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348253
+  (0.0ms) SAVEPOINT active_record_1
348254
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348255
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348256
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
348257
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348258
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348259
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348260
+  (0.1ms) SAVEPOINT active_record_1
348261
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:41 UTC +00:00]]
348262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348263
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
348264
+  (0.0ms) SAVEPOINT active_record_1
348265
+  (0.1ms) UPDATE "subtasks" SET "parentable_id" = 1, "parentable_type" = 'Task15', "updated_at" = '2012-10-14 14:31:41.937393' WHERE "subtasks"."id" = 1
348266
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348267
+  (0.0ms) SAVEPOINT active_record_1
348268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348269
+  (0.0ms) SAVEPOINT active_record_1
348270
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348271
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348272
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348273
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348274
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
348275
+ Task15 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348276
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348277
+  (0.6ms) rollback transaction
348278
+  (0.1ms) begin transaction
348279
+  (0.1ms) SAVEPOINT active_record_1
348280
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348282
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348283
+  (0.0ms) SAVEPOINT active_record_1
348284
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task16"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348285
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348286
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
348287
+ Task16 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348288
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
348289
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348290
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348291
+ Task16 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348292
+  (0.1ms) SAVEPOINT active_record_1
348293
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348294
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
348295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348296
+ Task16 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348297
+  (0.0ms) SAVEPOINT active_record_1
348298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348299
+  (0.0ms) SAVEPOINT active_record_1
348300
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348302
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348303
+ Task16 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348304
+ Subtask16 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
348305
+  (0.6ms) rollback transaction
348306
+  (0.1ms) begin transaction
348307
+  (0.1ms) SAVEPOINT active_record_1
348308
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348309
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348310
+  (0.1ms) SAVEPOINT active_record_1
348311
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348312
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348313
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348314
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
348315
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
348316
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348317
+ Subtask17 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
348318
+  (0.0ms) SAVEPOINT active_record_1
348319
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task17"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348321
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348322
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348323
+ Task17 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348324
+ Subtask17 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
348325
+  (0.0ms) SAVEPOINT active_record_1
348326
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
348327
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348328
+  (0.0ms) SAVEPOINT active_record_1
348329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348330
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348331
+  (0.0ms) SAVEPOINT active_record_1
348332
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348333
+  (0.0ms) SAVEPOINT active_record_1
348334
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348335
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348336
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348337
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348338
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
348339
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348340
+ Subtask17 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
348341
+  (0.6ms) rollback transaction
348342
+  (0.1ms) begin transaction
348343
+  (0.1ms) SAVEPOINT active_record_1
348344
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348345
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348346
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
348347
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348348
+ Subtask18 Load (0.2ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
348349
+  (0.1ms) SAVEPOINT active_record_1
348350
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task18"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348352
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348353
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348354
+  (0.1ms) SAVEPOINT active_record_1
348355
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348356
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348357
+ Subtask18 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
348358
+  (0.0ms) SAVEPOINT active_record_1
348359
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
348360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348361
+  (0.0ms) SAVEPOINT active_record_1
348362
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348363
+ Task18 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348364
+  (0.0ms) SAVEPOINT active_record_1
348365
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348366
+  (0.0ms) SAVEPOINT active_record_1
348367
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348368
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348369
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348370
+ Task18 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348371
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
348372
+ Task18 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348373
+ Subtask18 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
348374
+  (0.5ms) rollback transaction
348375
+  (0.0ms) begin transaction
348376
+  (0.1ms) SAVEPOINT active_record_1
348377
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348379
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
348380
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348381
+ Subtask19 Load (0.2ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
348382
+  (0.1ms) SAVEPOINT active_record_1
348383
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task19"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348384
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348385
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
348386
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348387
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348388
+  (0.0ms) SAVEPOINT active_record_1
348389
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348390
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348391
+ Subtask19 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
348392
+  (0.0ms) SAVEPOINT active_record_1
348393
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
348394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348395
+  (0.0ms) SAVEPOINT active_record_1
348396
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348397
+ Task19 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348398
+  (0.0ms) SAVEPOINT active_record_1
348399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348400
+  (0.0ms) SAVEPOINT active_record_1
348401
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348403
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348404
+ Task19 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348405
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
348406
+ Task19 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348407
+ Subtask19 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
348408
+  (0.6ms) rollback transaction
348409
+  (0.1ms) begin transaction
348410
+  (0.1ms) SAVEPOINT active_record_1
348411
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348413
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348414
+  (0.1ms) SAVEPOINT active_record_1
348415
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"id"=>nil, "title"=>"Connection 1", "m1_id"=>nil, "m2_id"=>nil, "created_at"=>nil, "updated_at"=>nil, :associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}]}}], ["moderatable_id", 1], ["moderatable_type", "Task20"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348417
+  (0.0ms) SAVEPOINT active_record_1
348418
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348419
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
348420
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
348421
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348422
+ Task20 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348423
+  (0.1ms) SAVEPOINT active_record_1
348424
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348425
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348426
+  (0.0ms) SAVEPOINT active_record_1
348427
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348428
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348429
+ Task20 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348430
+  (0.0ms) SAVEPOINT active_record_1
348431
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348432
+  (0.0ms) SAVEPOINT active_record_1
348433
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348435
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348436
+ Task20 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348437
+ Subtask20 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
348438
+ Subtask20 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
348439
+ TaskConnection20 Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1 LIMIT 1
348440
+ Subtask20 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
348441
+ Task20 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348442
+  (0.6ms) rollback transaction
348443
+  (0.1ms) begin transaction
348444
+  (0.1ms) SAVEPOINT active_record_1
348445
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348446
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348447
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348448
+  (0.1ms) SAVEPOINT active_record_1
348449
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task21"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348451
+  (0.0ms) SAVEPOINT active_record_1
348452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348453
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
348454
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
348455
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348456
+ Task21 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348457
+  (0.1ms) SAVEPOINT active_record_1
348458
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348459
+ SQL (0.4ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348461
+ Task21 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348462
+  (0.0ms) SAVEPOINT active_record_1
348463
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348464
+  (0.0ms) SAVEPOINT active_record_1
348465
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348466
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348467
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348468
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
348469
+ Task21 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348470
+ Subtask21 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
348471
+  (0.6ms) rollback transaction
348472
+  (0.1ms) begin transaction
348473
+  (0.1ms) SAVEPOINT active_record_1
348474
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348476
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348477
+  (0.0ms) SAVEPOINT active_record_1
348478
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task22"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348479
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348480
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
348481
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
348482
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348483
+ Task22 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348484
+  (0.1ms) SAVEPOINT active_record_1
348485
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348486
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348487
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348488
+ Task22 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348489
+  (0.0ms) SAVEPOINT active_record_1
348490
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348491
+  (0.0ms) SAVEPOINT active_record_1
348492
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348493
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348494
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348495
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
348496
+ Task22 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348497
+ Subtask22 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
348498
+  (0.6ms) rollback transaction
348499
+  (0.1ms) begin transaction
348500
+  (0.1ms) SAVEPOINT active_record_1
348501
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348502
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task23"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348503
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348504
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
348505
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348506
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348507
+  (0.2ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
348508
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
348509
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348510
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348511
+  (0.1ms) SAVEPOINT active_record_1
348512
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348513
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348515
+ Task23 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348516
+  (0.0ms) SAVEPOINT active_record_1
348517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348518
+  (0.0ms) SAVEPOINT active_record_1
348519
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348520
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348521
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348522
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
348523
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348524
+ Subtask23 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
348525
+  (0.6ms) rollback transaction
348526
+  (0.1ms) begin transaction
348527
+  (0.1ms) SAVEPOINT active_record_1
348528
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348529
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348530
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348531
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348532
+  (0.1ms) SAVEPOINT active_record_1
348533
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task24"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348534
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348535
+  (0.0ms) SAVEPOINT active_record_1
348536
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348537
+ Task24 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348538
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348539
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
348540
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348541
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348542
+ Task24 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348543
+  (0.1ms) SAVEPOINT active_record_1
348544
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348545
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348546
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348547
+  (0.0ms) SAVEPOINT active_record_1
348548
+  (0.2ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:31:42.901220' WHERE "subtasks"."id" = 1
348549
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348550
+  (0.0ms) SAVEPOINT active_record_1
348551
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348552
+  (0.0ms) SAVEPOINT active_record_1
348553
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348554
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348555
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348556
+ Task24 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348557
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348558
+  (0.6ms) rollback transaction
348559
+  (0.1ms) begin transaction
348560
+  (0.1ms) SAVEPOINT active_record_1
348561
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348562
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348564
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348565
+  (0.1ms) SAVEPOINT active_record_1
348566
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348567
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348568
+  (0.0ms) SAVEPOINT active_record_1
348569
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task25"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348570
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348571
+  (0.0ms) SAVEPOINT active_record_1
348572
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348573
+ Task25 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348574
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348575
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348576
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348577
+ Task25 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348578
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
348579
+  (0.0ms) SAVEPOINT active_record_1
348580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348581
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348582
+  (0.0ms) SAVEPOINT active_record_1
348583
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:31:42.962856' WHERE "subtasks"."id" = 1
348584
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348585
+  (0.0ms) SAVEPOINT active_record_1
348586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348587
+  (0.0ms) SAVEPOINT active_record_1
348588
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348589
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348590
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348591
+ Task25 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348592
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348593
+  (0.6ms) rollback transaction
348594
+  (0.1ms) begin transaction
348595
+  (0.1ms) SAVEPOINT active_record_1
348596
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:42 UTC +00:00]]
348597
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348598
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348599
+  (0.1ms) SAVEPOINT active_record_1
348600
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task26"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348602
+  (0.0ms) SAVEPOINT active_record_1
348603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348604
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348605
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348606
+  (0.1ms) SAVEPOINT active_record_1
348607
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348609
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348610
+  (0.0ms) SAVEPOINT active_record_1
348611
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:31:43.074139' WHERE "subtasks"."id" = 1
348612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348613
+  (0.0ms) SAVEPOINT active_record_1
348614
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348615
+  (0.0ms) SAVEPOINT active_record_1
348616
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348618
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348619
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348620
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348621
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348622
+  (0.0ms) SAVEPOINT active_record_1
348623
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task26"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348625
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348626
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348627
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348628
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348629
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348630
+  (0.0ms) SAVEPOINT active_record_1
348631
+  (0.1ms) UPDATE "subtasks" SET "task_id" = NULL, "updated_at" = '2012-10-14 14:31:43.090232' WHERE "subtasks"."id" = 1
348632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348633
+  (0.0ms) SAVEPOINT active_record_1
348634
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348635
+  (0.0ms) SAVEPOINT active_record_1
348636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348637
+  (0.0ms) SAVEPOINT active_record_1
348638
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
348639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348640
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348641
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348642
+  (0.6ms) rollback transaction
348643
+  (0.1ms) begin transaction
348644
+  (0.1ms) SAVEPOINT active_record_1
348645
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348647
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
348648
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348649
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
348650
+  (0.1ms) SAVEPOINT active_record_1
348651
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348652
+  (0.0ms) SAVEPOINT active_record_1
348653
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtask=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task27"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348655
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
348656
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
348657
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348658
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348659
+  (0.1ms) SAVEPOINT active_record_1
348660
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348661
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348662
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348663
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
348664
+  (0.0ms) SAVEPOINT active_record_1
348665
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348666
+  (0.0ms) SAVEPOINT active_record_1
348667
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:31:43.148556' WHERE "subtasks"."id" = 1
348668
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348669
+  (0.0ms) SAVEPOINT active_record_1
348670
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348671
+  (0.0ms) SAVEPOINT active_record_1
348672
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348674
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348675
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
348676
+ Task27 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348677
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348678
+  (0.6ms) rollback transaction
348679
+  (0.1ms) begin transaction
348680
+  (0.1ms) SAVEPOINT active_record_1
348681
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348682
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348683
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
348684
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348685
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
348686
+  (0.1ms) SAVEPOINT active_record_1
348687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348688
+  (0.0ms) SAVEPOINT active_record_1
348689
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtask=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task28"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348690
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348691
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
348692
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
348693
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348694
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348695
+  (0.0ms) SAVEPOINT active_record_1
348696
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348698
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
348699
+  (0.0ms) SAVEPOINT active_record_1
348700
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348701
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348702
+  (0.0ms) SAVEPOINT active_record_1
348703
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:31:43.205359' WHERE "subtasks"."id" = 1
348704
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348705
+  (0.0ms) SAVEPOINT active_record_1
348706
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348707
+  (0.0ms) SAVEPOINT active_record_1
348708
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348710
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
348711
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
348712
+ Task28 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348713
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348714
+  (0.6ms) rollback transaction
348715
+  (0.1ms) begin transaction
348716
+  (0.1ms) SAVEPOINT active_record_1
348717
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{}}}], ["moderatable_id", nil], ["moderatable_type", "Task29"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348718
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348719
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348720
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
348721
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348722
+  (0.1ms) SAVEPOINT active_record_1
348723
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348725
+  (0.0ms) SAVEPOINT active_record_1
348726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348727
+  (0.0ms) SAVEPOINT active_record_1
348728
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348730
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
348731
+ Task29 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348732
+  (0.5ms) rollback transaction
348733
+  (0.1ms) begin transaction
348734
+  (0.1ms) SAVEPOINT active_record_1
348735
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}}], ["moderatable_id", nil], ["moderatable_type", "Task30"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348736
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348737
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
348738
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348739
+  (0.0ms) SAVEPOINT active_record_1
348740
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348742
+  (0.1ms) SAVEPOINT active_record_1
348743
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348744
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348745
+ Task30 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348746
+  (0.0ms) SAVEPOINT active_record_1
348747
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348748
+  (0.0ms) SAVEPOINT active_record_1
348749
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348751
+ Task30 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348752
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
348753
+ Task30 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348754
+ Subtask30 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
348755
+  (0.6ms) rollback transaction
348756
+  (0.1ms) begin transaction
348757
+  (0.1ms) SAVEPOINT active_record_1
348758
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{}}}], ["moderatable_id", nil], ["moderatable_type", "Task31"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348760
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348761
+  (0.0ms) SAVEPOINT active_record_1
348762
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348763
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348764
+  (0.0ms) SAVEPOINT active_record_1
348765
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348766
+  (0.0ms) SAVEPOINT active_record_1
348767
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348768
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348769
+ Task31 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348770
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
348771
+  (0.6ms) rollback transaction
348772
+  (0.1ms) begin transaction
348773
+  (0.1ms) SAVEPOINT active_record_1
348774
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348776
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
348777
+ Task32 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348778
+  (0.0ms) SAVEPOINT active_record_1
348779
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:destroy=>true}], ["moderatable_id", 1], ["moderatable_type", "Task32"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348780
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348781
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
348782
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348783
+ Task32 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348784
+  (0.0ms) SAVEPOINT active_record_1
348785
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" WHERE "moderations"."moderatable_id" = 1 AND "moderations"."moderatable_type" = 'Task32'
348786
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348787
+ SQL (0.1ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 1]]
348788
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348789
+  (0.0ms) SAVEPOINT active_record_1
348790
+ SQL (0.0ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348791
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348792
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
348793
+  (0.6ms) rollback transaction
348794
+  (0.1ms) begin transaction
348795
+  (0.1ms) SAVEPOINT active_record_1
348796
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", "Description"], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348797
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task33"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348798
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348799
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348800
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348801
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348802
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348803
+  (0.0ms) SAVEPOINT active_record_1
348804
+  (0.4ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:31:43.474819' WHERE "tasks"."id" = 1
348805
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348806
+  (0.0ms) SAVEPOINT active_record_1
348807
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348808
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348809
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348810
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348811
+  (0.0ms) SAVEPOINT active_record_1
348812
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 2"}}], ["moderatable_id", 1], ["moderatable_type", "Task33"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348814
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348815
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348816
+ Task33 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348817
+  (0.0ms) SAVEPOINT active_record_1
348818
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 2', "updated_at" = '2012-10-14 14:31:43.545415' WHERE "tasks"."id" = 1
348819
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348820
+  (0.0ms) SAVEPOINT active_record_1
348821
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
348822
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348823
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
348824
+  (0.6ms) rollback transaction
348825
+  (0.1ms) begin transaction
348826
+  (0.1ms) SAVEPOINT active_record_1
348827
+ Task34 Exists (0.2ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
348828
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
348829
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348830
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task34"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348832
+  (0.0ms) SAVEPOINT active_record_1
348833
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
348834
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
348835
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348836
+ SQL (0.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 2], ["moderatable_type", "Task34"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348838
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" LIMIT 1
348839
+ Task34 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348840
+  (0.1ms) SAVEPOINT active_record_1
348841
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 1) LIMIT 1
348842
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 1) LIMIT 1
348843
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:31:43.596902' WHERE "tasks"."id" = 1
348844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348845
+  (0.0ms) SAVEPOINT active_record_1
348846
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348847
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348848
+  (0.1ms) SAVEPOINT active_record_1
348849
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
348850
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
348851
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" LIMIT 1
348852
+ Task34 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 2 LIMIT 1
348853
+  (0.0ms) SAVEPOINT active_record_1
348854
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 2) LIMIT 1
348855
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
348856
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" LIMIT 1
348857
+ Task34 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 2 LIMIT 1
348858
+  (0.0ms) SAVEPOINT active_record_1
348859
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 2) LIMIT 1
348860
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
348861
+  (0.6ms) rollback transaction
348862
+  (0.1ms) begin transaction
348863
+  (0.1ms) SAVEPOINT active_record_1
348864
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:create=>{:attributes=>{:test=>"ok"}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Task35"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348865
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348866
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348867
+  (0.5ms) rollback transaction
348868
+  (0.1ms) begin transaction
348869
+  (0.1ms) SAVEPOINT active_record_1
348870
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Task36"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348872
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348873
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348874
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348875
+  (0.5ms) rollback transaction
348876
+  (0.1ms) begin transaction
348877
+  (0.1ms) SAVEPOINT active_record_1
348878
+ SQL (57.8ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348880
+ Task37 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348881
+  (0.0ms) SAVEPOINT active_record_1
348882
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:destroy=>true}], ["moderatable_id", 1], ["moderatable_type", "Task37"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348883
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348884
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348885
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348886
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348887
+  (0.6ms) rollback transaction
348888
+  (0.1ms) begin transaction
348889
+  (0.1ms) SAVEPOINT active_record_1
348890
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>nil, "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Task38"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348891
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348892
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348893
+  (0.5ms) rollback transaction
348894
+  (0.0ms) begin transaction
348895
+  (0.1ms) SAVEPOINT active_record_1
348896
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348897
+ SQL (0.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", "Test!"], ["moderatable_id", 1], ["moderatable_type", "Task39"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348899
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
348900
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348901
+  (0.5ms) rollback transaction
348902
+  (0.1ms) begin transaction
348903
+  (0.1ms) SAVEPOINT active_record_1
348904
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348905
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task40"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348906
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348907
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348908
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348909
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348910
+  (0.0ms) SAVEPOINT active_record_1
348911
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348912
+  (0.4ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:31:43.865955' WHERE "tasks"."id" = 1
348913
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348914
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
348915
+  (0.5ms) rollback transaction
348916
+  (0.1ms) begin transaction
348917
+  (0.1ms) SAVEPOINT active_record_1
348918
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348919
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task41"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348921
+ Task41 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348922
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348923
+  (0.0ms) SAVEPOINT active_record_1
348924
+ Task41 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348925
+  (0.4ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:31:43.904133' WHERE "tasks"."id" = 1
348926
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348927
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
348928
+  (0.6ms) rollback transaction
348929
+  (0.1ms) begin transaction
348930
+  (0.1ms) SAVEPOINT active_record_1
348931
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348932
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task42"], ["updated_at", Sun, 14 Oct 2012 14:31:43 UTC +00:00]]
348933
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348934
+ Task42 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348935
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348936
+  (0.0ms) SAVEPOINT active_record_1
348937
+ Task42 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348938
+  (0.3ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:31:43.942041' WHERE "tasks"."id" = 1
348939
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348940
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
348941
+  (0.5ms) rollback transaction
348942
+  (0.1ms) begin transaction
348943
+  (0.1ms) SAVEPOINT active_record_1
348944
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00]]
348945
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task43"], ["updated_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00]]
348946
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348947
+ Task43 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348948
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348949
+  (0.0ms) SAVEPOINT active_record_1
348950
+ Task43 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348951
+  (0.3ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:31:44.038481' WHERE "tasks"."id" = 1
348952
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348953
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
348954
+  (0.5ms) rollback transaction
348955
+  (0.1ms) begin transaction
348956
+  (0.1ms) SAVEPOINT active_record_1
348957
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00]]
348958
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task44"], ["updated_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00]]
348959
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348960
+ Task44 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
348961
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348962
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348963
+  (0.0ms) SAVEPOINT active_record_1
348964
+ Task44 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348965
+  (0.3ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:31:44.077991' WHERE "tasks"."id" = 1
348966
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348967
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
348968
+  (0.6ms) rollback transaction
348969
+  (0.1ms) begin transaction
348970
+  (0.1ms) SAVEPOINT active_record_1
348971
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00]]
348972
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348973
+  (0.0ms) SAVEPOINT active_record_1
348974
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task45"], ["updated_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00]]
348975
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348976
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348977
+  (0.0ms) SAVEPOINT active_record_1
348978
+ Task45 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348979
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00]]
348980
+ Task45 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
348981
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
348982
+ Subtask45 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1
348983
+ Task45 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
348984
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
348985
+  (0.6ms) rollback transaction
348986
+  (0.1ms) begin transaction
348987
+  (0.1ms) SAVEPOINT active_record_1
348988
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00]]
348989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348990
+  (0.1ms) SAVEPOINT active_record_1
348991
+ SQL (1.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"id"=>nil, "title"=>"Connection 1", "m1_id"=>nil, "m2_id"=>nil, "created_at"=>nil, "updated_at"=>nil, :associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}]}}], ["moderatable_id", 1], ["moderatable_type", "Task46"], ["updated_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00]]
348992
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348993
+  (0.0ms) SAVEPOINT active_record_1
348994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348995
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
348996
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
348997
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
348998
+  (0.0ms) SAVEPOINT active_record_1
348999
+ Task46 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349000
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00]]
349001
+ SQL (0.2ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 14 Oct 2012 14:31:44 UTC +00:00]]
349002
+ Task46 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349003
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349004
+ TaskConnection46 Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m1_id" = 1
349005
+ Task46 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349006
+ Subtask46 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
349007
+ TaskConnection46 Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1
349008
+ Task46 Load (0.1ms) SELECT "tasks".* FROM "tasks" INNER JOIN "task_connections" ON "tasks"."id" = "task_connections"."m1_id" WHERE "task_connections"."m2_id" = 1
349009
+ Subtask46 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
349010
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
349011
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
349012
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
349013
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349014
+  (0.6ms) rollback transaction
349015
+ Connecting to database specified by database.yml
349016
+  (0.6ms) begin transaction
349017
+  (0.1ms) SAVEPOINT active_record_1
349018
+ SQL (3.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:16 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "avatar"=>nil, "picture"=>nil, "parentable_id"=>nil, "parentable_type"=>nil, "title"=>nil, "created_at"=>nil, "updated_at"=>nil, "avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1632-820-5959/test.jpg"}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Photo2"], ["updated_at", Sun, 14 Oct 2012 14:32:16 UTC +00:00]]
349019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349020
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
349021
+ Moderation Load (0.2ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349022
+  (0.1ms) SAVEPOINT active_record_1
349023
+ SQL (0.6ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", "test.jpg"], ["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349024
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349025
+  (0.0ms) SAVEPOINT active_record_1
349026
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349027
+  (0.0ms) SAVEPOINT active_record_1
349028
+ SQL (0.2ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349029
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349030
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
349031
+ Photo2 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
349032
+  (0.7ms) rollback transaction
349033
+  (0.1ms) begin transaction
349034
+  (0.1ms) SAVEPOINT active_record_1
349035
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", "test.jpg"], ["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349037
+  (0.1ms) SELECT COUNT(*) FROM "photos"
349038
+ Photo3 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
349039
+  (0.4ms) rollback transaction
349040
+  (0.0ms) begin transaction
349041
+  (0.1ms) SAVEPOINT active_record_1
349042
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", nil], ["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349043
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:attributes=>{"avatar"=>nil}}], ["moderatable_id", 1], ["moderatable_type", "Photo4"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349044
+ SQL (0.8ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:attributes=>{"avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1632-820-6491/test.jpg"}}], ["moderatable_id", 1], ["moderatable_type", "Photo4"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349046
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
349047
+ Photo4 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
349048
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349049
+ Photo4 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = 1 LIMIT 1
349050
+  (0.1ms) SAVEPOINT active_record_1
349051
+ Photo4 Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 1]]
349052
+  (0.3ms) UPDATE "photos" SET "avatar" = 'test.jpg', "updated_at" = '2012-10-14 14:32:17.191628' WHERE "photos"."id" = 1
349053
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349054
+  (0.0ms) SAVEPOINT active_record_1
349055
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
349056
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349057
+  (0.1ms) SELECT COUNT(*) FROM "photos"
349058
+ Photo4 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
349059
+  (0.4ms) rollback transaction
349060
+  (0.1ms) begin transaction
349061
+  (0.1ms) SAVEPOINT active_record_1
349062
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", nil], ["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349064
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
349065
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
349066
+  (0.1ms) SAVEPOINT active_record_1
349067
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:attributes=>{"avatar"=>nil}}], ["moderatable_id", 1], ["moderatable_type", "Photo5"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349068
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 1]]
349069
+  (0.1ms) UPDATE "photos" SET "avatar" = NULL, "updated_at" = '2012-10-14 14:32:17.285868' WHERE "photos"."id" = 1
349070
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:attributes=>{"avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1632-820-2857/test.jpg"}}], ["moderatable_id", 1], ["moderatable_type", "Photo5"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349072
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349073
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = 1 LIMIT 1
349074
+  (0.1ms) SAVEPOINT active_record_1
349075
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 1]]
349076
+  (0.1ms) UPDATE "photos" SET "avatar" = 'test.jpg', "updated_at" = '2012-10-14 14:32:17.302847' WHERE "photos"."id" = 1
349077
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349078
+  (0.0ms) SAVEPOINT active_record_1
349079
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
349080
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349081
+  (0.1ms) SELECT COUNT(*) FROM "photos"
349082
+ Photo5 Load (0.1ms) SELECT "photos".* FROM "photos" LIMIT 1
349083
+  (0.5ms) rollback transaction
349084
+  (0.1ms) begin transaction
349085
+  (0.1ms) SAVEPOINT active_record_1
349086
+ SQL (0.5ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", nil], ["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["parentable_id", nil], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349087
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:attributes=>{"avatar"=>nil}}], ["moderatable_id", 1], ["moderatable_type", "Photo6"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349088
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:attributes=>{"avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1632-820-3843/test.jpg"}}], ["moderatable_id", 1], ["moderatable_type", "Photo6"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349089
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349090
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349091
+  (0.1ms) SAVEPOINT active_record_1
349092
+ SQL (0.2ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
349093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349094
+  (0.5ms) rollback transaction
349095
+  (0.1ms) begin transaction
349096
+  (0.1ms) SAVEPOINT active_record_1
349097
+ SQL (1.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:photos=>[{"id"=>nil, "avatar"=>nil, "picture"=>nil, "parentable_id"=>nil, "parentable_type"=>nil, "title"=>nil, "created_at"=>nil, "updated_at"=>nil, "avatar_tmp_file"=>"/Users/mrbrdo/rails/has_moderated/test/dummy/public/uploads/tmp/20121014-1632-820-9440/test.jpg"}]}}}], ["moderatable_id", nil], ["moderatable_type", "Task7"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349098
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349099
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
349100
+  (0.1ms) SELECT COUNT(*) FROM "photos" 
349101
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349102
+  (0.0ms) SAVEPOINT active_record_1
349103
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349104
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349105
+  (0.1ms) SAVEPOINT active_record_1
349106
+ SQL (0.3ms) INSERT INTO "photos" ("avatar", "created_at", "parentable_id", "parentable_type", "picture", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["avatar", "test.jpg"], ["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["parentable_id", 1], ["parentable_type", nil], ["picture", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349108
+ Task7 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349109
+  (0.0ms) SAVEPOINT active_record_1
349110
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349111
+  (0.0ms) SAVEPOINT active_record_1
349112
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349113
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349114
+ Task7 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349115
+  (0.1ms) SELECT COUNT(*) FROM "photos" WHERE "photos"."parentable_id" = 1
349116
+ Task7 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349117
+ Photo7 Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."parentable_id" = 1 LIMIT 1
349118
+  (0.6ms) rollback transaction
349119
+  (0.1ms) begin transaction
349120
+  (0.1ms) SAVEPOINT active_record_1
349121
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}}], ["moderatable_id", nil], ["moderatable_type", "Task8"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349122
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349123
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349124
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
349125
+  (0.1ms) SELECT COUNT(*) FROM "photos"
349126
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349127
+  (0.0ms) SAVEPOINT active_record_1
349128
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349129
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349130
+  (0.0ms) SAVEPOINT active_record_1
349131
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349132
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349133
+ Task8 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349134
+  (0.0ms) SAVEPOINT active_record_1
349135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349136
+  (0.0ms) SAVEPOINT active_record_1
349137
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349139
+ Task8 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349140
+  (0.1ms) SELECT COUNT(*) FROM "photos" WHERE "photos"."parentable_id" = 1
349141
+  (0.1ms) SELECT COUNT(*) FROM "photos"
349142
+  (0.5ms) rollback transaction
349143
+  (0.1ms) begin transaction
349144
+  (0.1ms) SAVEPOINT active_record_1
349145
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349146
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349147
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349148
+  (0.0ms) SAVEPOINT active_record_1
349149
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task9"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349150
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349151
+ Task9 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349152
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
349153
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349154
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349155
+ Task9 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349156
+  (0.1ms) SAVEPOINT active_record_1
349157
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349158
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349159
+ Task9 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349160
+  (0.0ms) SAVEPOINT active_record_1
349161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349162
+  (0.0ms) SAVEPOINT active_record_1
349163
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349164
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349165
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349166
+ Task9 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349167
+ Subtask9 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349168
+  (0.6ms) rollback transaction
349169
+  (0.1ms) begin transaction
349170
+  (0.1ms) SAVEPOINT active_record_1
349171
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349172
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349173
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349174
+  (0.1ms) SAVEPOINT active_record_1
349175
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task10"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349176
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349177
+  (0.0ms) SAVEPOINT active_record_1
349178
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349179
+ Task10 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349180
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
349181
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349182
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349183
+ Task10 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349184
+  (0.1ms) SAVEPOINT active_record_1
349185
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349187
+ Task10 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349188
+  (0.0ms) SAVEPOINT active_record_1
349189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349190
+  (0.0ms) SAVEPOINT active_record_1
349191
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349193
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349194
+ Task10 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349195
+ Subtask10 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349196
+  (0.6ms) rollback transaction
349197
+  (0.1ms) begin transaction
349198
+  (0.1ms) SAVEPOINT active_record_1
349199
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349200
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349201
+  (0.1ms) SAVEPOINT active_record_1
349202
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349203
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349204
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349205
+ Subtask11 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
349206
+  (0.0ms) SAVEPOINT active_record_1
349207
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task11"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349209
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349210
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
349211
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349212
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349213
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349214
+ Subtask11 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
349215
+  (0.0ms) SAVEPOINT active_record_1
349216
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:32:17.795358' WHERE "subtasks"."id" = 1
349217
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349218
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349219
+  (0.0ms) SAVEPOINT active_record_1
349220
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349221
+  (0.0ms) SAVEPOINT active_record_1
349222
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349224
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349225
+ Task11 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349226
+ Subtask11 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349227
+  (0.6ms) rollback transaction
349228
+  (0.1ms) begin transaction
349229
+  (0.1ms) SAVEPOINT active_record_1
349230
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349231
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349232
+  (0.1ms) SAVEPOINT active_record_1
349233
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349234
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349235
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349236
+ Subtask12 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
349237
+  (0.0ms) SAVEPOINT active_record_1
349238
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task12"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349240
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349241
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
349242
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349243
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349244
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349245
+ Subtask12 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
349246
+  (0.1ms) SAVEPOINT active_record_1
349247
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:32:17.858304' WHERE "subtasks"."id" = 1
349248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349249
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349250
+  (0.0ms) SAVEPOINT active_record_1
349251
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349252
+  (0.0ms) SAVEPOINT active_record_1
349253
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349254
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349255
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349256
+ Task12 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349257
+ Subtask12 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349258
+  (0.6ms) rollback transaction
349259
+  (0.1ms) begin transaction
349260
+  (0.1ms) SAVEPOINT active_record_1
349261
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349262
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349263
+  (0.0ms) SAVEPOINT active_record_1
349264
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task13"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349265
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349266
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349267
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349268
+  (0.1ms) SAVEPOINT active_record_1
349269
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349270
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349271
+ Task13 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349272
+  (0.0ms) SAVEPOINT active_record_1
349273
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349274
+  (0.0ms) SAVEPOINT active_record_1
349275
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349277
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
349278
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
349279
+ Subtask13 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 ORDER BY "subtasks"."id" DESC LIMIT 1
349280
+  (0.0ms) SAVEPOINT active_record_1
349281
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task13"], ["updated_at", Sun, 14 Oct 2012 14:32:17 UTC +00:00]]
349282
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349283
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
349284
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
349285
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349286
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349287
+ Subtask13 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
349288
+  (0.0ms) SAVEPOINT active_record_1
349289
+ SQL (0.2ms) UPDATE "subtasks" SET "task_id" = NULL WHERE "subtasks"."task_id" = 1 AND "subtasks"."id" IN (1)
349290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349291
+  (0.0ms) SAVEPOINT active_record_1
349292
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349293
+  (0.0ms) SAVEPOINT active_record_1
349294
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
349295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349296
+ Task13 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
349297
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
349298
+  (0.6ms) rollback transaction
349299
+  (0.1ms) begin transaction
349300
+  (0.1ms) SAVEPOINT active_record_1
349301
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349303
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349304
+  (0.0ms) SAVEPOINT active_record_1
349305
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>1, "parentable_type"=>"Task14"}]}}], ["moderatable_id", 1], ["moderatable_type", "Task14"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349306
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349307
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349308
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task14'
349309
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349310
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349311
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349312
+  (0.0ms) SAVEPOINT active_record_1
349313
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["parentable_id", 1], ["parentable_type", "Task14"], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349314
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349315
+ Task14 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349316
+  (0.1ms) SAVEPOINT active_record_1
349317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349318
+  (0.0ms) SAVEPOINT active_record_1
349319
+ SQL (0.4ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349321
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349322
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349323
+ Subtask14 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task14' LIMIT 1
349324
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349325
+ Task14 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349326
+  (0.6ms) rollback transaction
349327
+  (0.0ms) begin transaction
349328
+  (0.1ms) SAVEPOINT active_record_1
349329
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349330
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
349331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349332
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349333
+  (0.1ms) SAVEPOINT active_record_1
349334
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task15"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349335
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349336
+  (0.0ms) SAVEPOINT active_record_1
349337
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349338
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349339
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
349340
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349341
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349342
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349343
+  (0.0ms) SAVEPOINT active_record_1
349344
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349345
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349346
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
349347
+  (0.0ms) SAVEPOINT active_record_1
349348
+  (0.1ms) UPDATE "subtasks" SET "parentable_id" = 1, "parentable_type" = 'Task15', "updated_at" = '2012-10-14 14:32:18.101805' WHERE "subtasks"."id" = 1
349349
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349350
+  (0.0ms) SAVEPOINT active_record_1
349351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349352
+  (0.0ms) SAVEPOINT active_record_1
349353
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349355
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349356
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349357
+ Subtask15 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."parentable_id" = 1 AND "subtasks"."parentable_type" = 'Task15' LIMIT 1
349358
+ Task15 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349359
+ Task15 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349360
+  (0.6ms) rollback transaction
349361
+  (0.1ms) begin transaction
349362
+  (0.1ms) SAVEPOINT active_record_1
349363
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349364
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349365
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349366
+  (0.0ms) SAVEPOINT active_record_1
349367
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task16"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349368
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349369
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
349370
+ Task16 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349371
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
349372
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349373
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349374
+ Task16 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349375
+  (0.1ms) SAVEPOINT active_record_1
349376
+ SQL (0.4ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349377
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
349378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349379
+ Task16 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349380
+  (0.0ms) SAVEPOINT active_record_1
349381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349382
+  (0.0ms) SAVEPOINT active_record_1
349383
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349384
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349385
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349386
+ Task16 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349387
+ Subtask16 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
349388
+  (0.6ms) rollback transaction
349389
+  (0.0ms) begin transaction
349390
+  (0.1ms) SAVEPOINT active_record_1
349391
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349393
+  (0.1ms) SAVEPOINT active_record_1
349394
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349395
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349396
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349397
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
349398
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
349399
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349400
+ Subtask17 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
349401
+  (0.1ms) SAVEPOINT active_record_1
349402
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task17"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349403
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349404
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349405
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349406
+ Task17 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349407
+ Subtask17 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
349408
+  (0.0ms) SAVEPOINT active_record_1
349409
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
349410
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349411
+  (0.0ms) SAVEPOINT active_record_1
349412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349413
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349414
+  (0.0ms) SAVEPOINT active_record_1
349415
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349416
+  (0.0ms) SAVEPOINT active_record_1
349417
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349418
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349419
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349420
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349421
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
349422
+ Task17 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349423
+ Subtask17 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
349424
+  (0.6ms) rollback transaction
349425
+  (0.1ms) begin transaction
349426
+  (0.1ms) SAVEPOINT active_record_1
349427
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349428
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349429
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
349430
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349431
+ Subtask18 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
349432
+  (0.1ms) SAVEPOINT active_record_1
349433
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task18"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349435
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349436
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349437
+  (0.1ms) SAVEPOINT active_record_1
349438
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349439
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349440
+ Subtask18 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
349441
+  (0.0ms) SAVEPOINT active_record_1
349442
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
349443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349444
+  (0.0ms) SAVEPOINT active_record_1
349445
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349446
+ Task18 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349447
+  (0.1ms) SAVEPOINT active_record_1
349448
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349449
+  (0.0ms) SAVEPOINT active_record_1
349450
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349452
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349453
+ Task18 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349454
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
349455
+ Task18 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349456
+ Subtask18 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
349457
+  (0.6ms) rollback transaction
349458
+  (0.1ms) begin transaction
349459
+  (0.1ms) SAVEPOINT active_record_1
349460
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349461
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349462
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
349463
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349464
+ Subtask19 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
349465
+  (0.1ms) SAVEPOINT active_record_1
349466
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task19"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349467
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349468
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
349469
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349470
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349471
+  (0.0ms) SAVEPOINT active_record_1
349472
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349474
+ Subtask19 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
349475
+  (0.0ms) SAVEPOINT active_record_1
349476
+  (0.1ms) INSERT INTO "tasks_jointable" ("m2_id", "m1_id") VALUES (1, 1)
349477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349478
+  (0.0ms) SAVEPOINT active_record_1
349479
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349480
+ Task19 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349481
+  (0.0ms) SAVEPOINT active_record_1
349482
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349483
+  (0.0ms) SAVEPOINT active_record_1
349484
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349485
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349486
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349487
+ Task19 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
349488
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1
349489
+ Task19 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349490
+ Subtask19 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "tasks_jointable" ON "subtasks"."id" = "tasks_jointable"."m2_id" WHERE "tasks_jointable"."m1_id" = 1 LIMIT 1
349491
+  (0.6ms) rollback transaction
349492
+  (0.1ms) begin transaction
349493
+  (0.1ms) SAVEPOINT active_record_1
349494
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349495
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349496
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349497
+  (0.1ms) SAVEPOINT active_record_1
349498
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"id"=>nil, "title"=>"Connection 1", "m1_id"=>nil, "m2_id"=>nil, "created_at"=>nil, "updated_at"=>nil, :associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}]}}], ["moderatable_id", 1], ["moderatable_type", "Task20"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349499
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349500
+  (0.0ms) SAVEPOINT active_record_1
349501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349502
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
349503
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
349504
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349505
+ Task20 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349506
+  (0.1ms) SAVEPOINT active_record_1
349507
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349509
+  (0.0ms) SAVEPOINT active_record_1
349510
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349511
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349512
+ Task20 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349513
+  (0.0ms) SAVEPOINT active_record_1
349514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349515
+  (0.0ms) SAVEPOINT active_record_1
349516
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349518
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349519
+ Task20 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349520
+ Subtask20 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
349521
+ Subtask20 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
349522
+ TaskConnection20 Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1 LIMIT 1
349523
+ Subtask20 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
349524
+ Task20 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349525
+  (0.6ms) rollback transaction
349526
+  (0.1ms) begin transaction
349527
+  (0.1ms) SAVEPOINT active_record_1
349528
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349529
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349530
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349531
+  (0.1ms) SAVEPOINT active_record_1
349532
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task21"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349534
+  (0.0ms) SAVEPOINT active_record_1
349535
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349536
+  (0.1ms) SELECT COUNT(*) FROM "task_connections" 
349537
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
349538
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349539
+ Task21 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349540
+  (0.1ms) SAVEPOINT active_record_1
349541
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349542
+ SQL (0.4ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349544
+ Task21 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349545
+  (0.0ms) SAVEPOINT active_record_1
349546
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349547
+  (0.0ms) SAVEPOINT active_record_1
349548
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349549
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349550
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349551
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
349552
+ Task21 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349553
+ Subtask21 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
349554
+  (0.7ms) rollback transaction
349555
+  (0.1ms) begin transaction
349556
+  (0.1ms) SAVEPOINT active_record_1
349557
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349559
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349560
+  (0.0ms) SAVEPOINT active_record_1
349561
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task22"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349562
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349563
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
349564
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
349565
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349566
+ Task22 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349567
+  (0.1ms) SAVEPOINT active_record_1
349568
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349569
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349570
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349571
+ Task22 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349572
+  (0.0ms) SAVEPOINT active_record_1
349573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349574
+  (0.0ms) SAVEPOINT active_record_1
349575
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349577
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349578
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
349579
+ Task22 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349580
+ Subtask22 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
349581
+  (0.6ms) rollback transaction
349582
+  (0.1ms) begin transaction
349583
+  (0.1ms) SAVEPOINT active_record_1
349584
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349585
+ SQL (0.9ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task23"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349586
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349587
+  (0.1ms) SELECT COUNT(*) FROM "subtasks"
349588
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349589
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349590
+  (0.2ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
349591
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
349592
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349593
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349594
+  (0.1ms) SAVEPOINT active_record_1
349595
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:18 UTC +00:00]]
349596
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349597
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349598
+ Task23 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349599
+  (0.0ms) SAVEPOINT active_record_1
349600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349601
+  (0.0ms) SAVEPOINT active_record_1
349602
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349604
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349605
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
349606
+ Task23 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349607
+ Subtask23 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1 LIMIT 1
349608
+  (0.6ms) rollback transaction
349609
+  (0.1ms) begin transaction
349610
+  (0.1ms) SAVEPOINT active_record_1
349611
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349612
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349613
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349614
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349615
+  (0.1ms) SAVEPOINT active_record_1
349616
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task24"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349617
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349618
+  (0.0ms) SAVEPOINT active_record_1
349619
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349620
+ Task24 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349621
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349622
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
349623
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349624
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349625
+ Task24 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349626
+  (0.1ms) SAVEPOINT active_record_1
349627
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349628
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349629
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349630
+  (0.0ms) SAVEPOINT active_record_1
349631
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:32:19.068351' WHERE "subtasks"."id" = 1
349632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349633
+  (0.0ms) SAVEPOINT active_record_1
349634
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349635
+  (0.0ms) SAVEPOINT active_record_1
349636
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349637
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349638
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349639
+ Task24 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349640
+ Subtask24 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349641
+  (0.6ms) rollback transaction
349642
+  (0.1ms) begin transaction
349643
+  (0.1ms) SAVEPOINT active_record_1
349644
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349645
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349647
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349648
+  (0.1ms) SAVEPOINT active_record_1
349649
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349651
+  (0.0ms) SAVEPOINT active_record_1
349652
+ SQL (0.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task25"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349653
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349654
+  (0.0ms) SAVEPOINT active_record_1
349655
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349656
+ Task25 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349657
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349658
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349659
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349660
+ Task25 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349661
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
349662
+  (0.0ms) SAVEPOINT active_record_1
349663
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349664
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349665
+  (0.0ms) SAVEPOINT active_record_1
349666
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:32:19.130069' WHERE "subtasks"."id" = 1
349667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349668
+  (0.0ms) SAVEPOINT active_record_1
349669
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349670
+  (0.0ms) SAVEPOINT active_record_1
349671
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349672
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349673
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349674
+ Task25 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349675
+ Subtask25 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349676
+  (0.6ms) rollback transaction
349677
+  (0.1ms) begin transaction
349678
+  (0.1ms) SAVEPOINT active_record_1
349679
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349680
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349682
+  (0.1ms) SAVEPOINT active_record_1
349683
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task26"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349684
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349685
+  (0.0ms) SAVEPOINT active_record_1
349686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349687
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349688
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349689
+  (0.1ms) SAVEPOINT active_record_1
349690
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349691
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349692
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349693
+  (0.0ms) SAVEPOINT active_record_1
349694
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:32:19.242111' WHERE "subtasks"."id" = 1
349695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349696
+  (0.0ms) SAVEPOINT active_record_1
349697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349698
+  (0.0ms) SAVEPOINT active_record_1
349699
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349701
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349702
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349703
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349704
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349705
+  (0.0ms) SAVEPOINT active_record_1
349706
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:delete_associations=>{:renamed_subtask=>[1]}}], ["moderatable_id", 1], ["moderatable_type", "Task26"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349707
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349708
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349709
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349710
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349711
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349712
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349713
+  (0.0ms) SAVEPOINT active_record_1
349714
+  (0.1ms) UPDATE "subtasks" SET "task_id" = NULL, "updated_at" = '2012-10-14 14:32:19.257920' WHERE "subtasks"."id" = 1
349715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349716
+  (0.0ms) SAVEPOINT active_record_1
349717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349718
+  (0.0ms) SAVEPOINT active_record_1
349719
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349720
+  (0.0ms) SAVEPOINT active_record_1
349721
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
349722
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349723
+ Task26 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349724
+ Subtask26 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349725
+  (0.5ms) rollback transaction
349726
+  (0.1ms) begin transaction
349727
+  (0.1ms) SAVEPOINT active_record_1
349728
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349730
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
349731
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349732
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
349733
+  (0.1ms) SAVEPOINT active_record_1
349734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349735
+  (0.0ms) SAVEPOINT active_record_1
349736
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtask=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task27"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349738
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
349739
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
349740
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349741
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349742
+  (0.1ms) SAVEPOINT active_record_1
349743
+ SQL (0.3ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349744
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349745
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349746
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
349747
+  (0.0ms) SAVEPOINT active_record_1
349748
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349749
+  (0.0ms) SAVEPOINT active_record_1
349750
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:32:19.316523' WHERE "subtasks"."id" = 1
349751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349752
+  (0.1ms) SAVEPOINT active_record_1
349753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349754
+  (0.0ms) SAVEPOINT active_record_1
349755
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349756
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349757
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349758
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
349759
+ Task27 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349760
+ Subtask27 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349761
+  (0.6ms) rollback transaction
349762
+  (0.1ms) begin transaction
349763
+  (0.1ms) SAVEPOINT active_record_1
349764
+ SQL (0.5ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349765
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349766
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
349767
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349768
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
349769
+  (0.1ms) SAVEPOINT active_record_1
349770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349771
+  (0.0ms) SAVEPOINT active_record_1
349772
+ SQL (1.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtask=>[1]}}}], ["moderatable_id", nil], ["moderatable_type", "Task28"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349773
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349774
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
349775
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
349776
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349777
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349778
+  (0.0ms) SAVEPOINT active_record_1
349779
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349780
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349781
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
349782
+  (0.0ms) SAVEPOINT active_record_1
349783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349784
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349785
+  (0.0ms) SAVEPOINT active_record_1
349786
+  (0.1ms) UPDATE "subtasks" SET "task_id" = 1, "updated_at" = '2012-10-14 14:32:19.375288' WHERE "subtasks"."id" = 1
349787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349788
+  (0.0ms) SAVEPOINT active_record_1
349789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349790
+  (0.0ms) SAVEPOINT active_record_1
349791
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349792
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349793
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
349794
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" LIMIT 1
349795
+ Task28 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349796
+ Subtask28 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349797
+  (0.6ms) rollback transaction
349798
+  (0.1ms) begin transaction
349799
+  (0.1ms) SAVEPOINT active_record_1
349800
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{}}}], ["moderatable_id", nil], ["moderatable_type", "Task29"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349801
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349802
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349803
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
349804
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349805
+  (0.1ms) SAVEPOINT active_record_1
349806
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349808
+  (0.0ms) SAVEPOINT active_record_1
349809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349810
+  (0.0ms) SAVEPOINT active_record_1
349811
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349813
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
349814
+ Task29 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349815
+  (0.6ms) rollback transaction
349816
+  (0.1ms) begin transaction
349817
+  (0.1ms) SAVEPOINT active_record_1
349818
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}}], ["moderatable_id", nil], ["moderatable_type", "Task30"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349820
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
349821
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349822
+  (0.0ms) SAVEPOINT active_record_1
349823
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349824
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349825
+  (0.1ms) SAVEPOINT active_record_1
349826
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349827
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349828
+ Task30 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
349829
+  (0.0ms) SAVEPOINT active_record_1
349830
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349831
+  (0.0ms) SAVEPOINT active_record_1
349832
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349833
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349834
+ Task30 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
349835
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
349836
+ Task30 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
349837
+ Subtask30 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
349838
+  (0.6ms) rollback transaction
349839
+  (0.0ms) begin transaction
349840
+  (0.1ms) SAVEPOINT active_record_1
349841
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>{}}}], ["moderatable_id", nil], ["moderatable_type", "Task31"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349842
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349843
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349844
+  (0.0ms) SAVEPOINT active_record_1
349845
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349846
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349847
+  (0.0ms) SAVEPOINT active_record_1
349848
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349849
+  (0.0ms) SAVEPOINT active_record_1
349850
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349851
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349852
+ Task31 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349853
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
349854
+  (0.5ms) rollback transaction
349855
+  (0.1ms) begin transaction
349856
+  (0.1ms) SAVEPOINT active_record_1
349857
+ SQL (0.6ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349859
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
349860
+ Task32 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349861
+  (0.0ms) SAVEPOINT active_record_1
349862
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:destroy=>true}], ["moderatable_id", 1], ["moderatable_type", "Task32"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349863
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349864
+  (0.1ms) SELECT COUNT(*) FROM "tasks" 
349865
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349866
+ Task32 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349867
+  (0.0ms) SAVEPOINT active_record_1
349868
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" WHERE "moderations"."moderatable_id" = 1 AND "moderations"."moderatable_type" = 'Task32'
349869
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349870
+ SQL (0.1ms) DELETE FROM "tasks" WHERE "tasks"."id" = ? [["id", 1]]
349871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349872
+  (0.0ms) SAVEPOINT active_record_1
349873
+ SQL (0.0ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349875
+  (0.1ms) SELECT COUNT(*) FROM "tasks"
349876
+  (0.6ms) rollback transaction
349877
+  (0.1ms) begin transaction
349878
+  (0.1ms) SAVEPOINT active_record_1
349879
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", "Description"], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349880
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task33"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349881
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349882
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349883
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349884
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349885
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349886
+  (0.0ms) SAVEPOINT active_record_1
349887
+  (0.3ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:32:19.643454' WHERE "tasks"."id" = 1
349888
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349889
+  (0.0ms) SAVEPOINT active_record_1
349890
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349891
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349892
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349893
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349894
+  (0.0ms) SAVEPOINT active_record_1
349895
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 2"}}], ["moderatable_id", 1], ["moderatable_type", "Task33"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349896
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349897
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349898
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349899
+ Task33 Load (0.2ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349900
+  (0.0ms) SAVEPOINT active_record_1
349901
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 2', "updated_at" = '2012-10-14 14:32:19.712354' WHERE "tasks"."id" = 1
349902
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349903
+  (0.0ms) SAVEPOINT active_record_1
349904
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
349905
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349906
+ Task33 Load (0.1ms) SELECT "tasks".* FROM "tasks" LIMIT 1
349907
+  (0.6ms) rollback transaction
349908
+  (0.1ms) begin transaction
349909
+  (0.1ms) SAVEPOINT active_record_1
349910
+ Task34 Exists (0.2ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
349911
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
349912
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349913
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task34"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349915
+  (0.0ms) SAVEPOINT active_record_1
349916
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
349917
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
349918
+ SQL (0.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349919
+ SQL (0.4ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 2], ["moderatable_type", "Task34"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349920
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349921
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" LIMIT 1
349922
+ Task34 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349923
+  (0.1ms) SAVEPOINT active_record_1
349924
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 1) LIMIT 1
349925
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 1) LIMIT 1
349926
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:32:19.764106' WHERE "tasks"."id" = 1
349927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349928
+  (0.0ms) SAVEPOINT active_record_1
349929
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349930
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349931
+  (0.0ms) SAVEPOINT active_record_1
349932
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE "tasks"."title" = 'Task 1' LIMIT 1
349933
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
349934
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" LIMIT 1
349935
+ Task34 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 2 LIMIT 1
349936
+  (0.0ms) SAVEPOINT active_record_1
349937
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 2) LIMIT 1
349938
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
349939
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" LIMIT 1
349940
+ Task34 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 2 LIMIT 1
349941
+  (0.0ms) SAVEPOINT active_record_1
349942
+ Task34 Exists (0.1ms) SELECT 1 FROM "tasks" WHERE ("tasks"."title" = 'Task 1' AND "tasks"."id" != 2) LIMIT 1
349943
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
349944
+  (0.6ms) rollback transaction
349945
+  (0.1ms) begin transaction
349946
+  (0.1ms) SAVEPOINT active_record_1
349947
+ SQL (1.0ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:create=>{:attributes=>{:test=>"ok"}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Task35"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349948
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349949
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349950
+  (0.5ms) rollback transaction
349951
+  (0.1ms) begin transaction
349952
+  (0.1ms) SAVEPOINT active_record_1
349953
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>"Task 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Task36"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349954
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349955
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349956
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349957
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349958
+  (0.5ms) rollback transaction
349959
+  (0.1ms) begin transaction
349960
+  (0.1ms) SAVEPOINT active_record_1
349961
+ SQL (57.4ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349962
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349963
+ Task37 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
349964
+  (0.0ms) SAVEPOINT active_record_1
349965
+ SQL (0.7ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:destroy=>true}], ["moderatable_id", 1], ["moderatable_type", "Task37"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349966
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349967
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349968
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349969
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349970
+  (0.5ms) rollback transaction
349971
+  (0.1ms) begin transaction
349972
+  (0.1ms) SAVEPOINT active_record_1
349973
+ SQL (1.1ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", {:create=>{:attributes=>{"id"=>nil, "title"=>nil, "desc"=>nil, "created_at"=>nil, "updated_at"=>nil}, :associations=>nil}}], ["moderatable_id", nil], ["moderatable_type", "Task38"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349975
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349976
+  (0.5ms) rollback transaction
349977
+  (0.1ms) begin transaction
349978
+  (0.1ms) SAVEPOINT active_record_1
349979
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349980
+ SQL (0.2ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00], ["data", "Test!"], ["moderatable_id", 1], ["moderatable_type", "Task39"], ["updated_at", Sun, 14 Oct 2012 14:32:19 UTC +00:00]]
349981
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349982
+  (0.1ms) SELECT COUNT(*) FROM "moderations" 
349983
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349984
+  (0.5ms) rollback transaction
349985
+  (0.1ms) begin transaction
349986
+  (0.1ms) SAVEPOINT active_record_1
349987
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
349988
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task40"], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
349989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349990
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
349991
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
349992
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
349993
+  (0.0ms) SAVEPOINT active_record_1
349994
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
349995
+  (0.3ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:32:20.031054' WHERE "tasks"."id" = 1
349996
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
349997
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
349998
+ Task40 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
349999
+  (0.4ms) rollback transaction
350000
+  (0.0ms) begin transaction
350001
+  (0.1ms) SAVEPOINT active_record_1
350002
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350003
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task41"], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350004
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350005
+ Task41 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350006
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350007
+  (0.0ms) SAVEPOINT active_record_1
350008
+ Task41 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350009
+  (0.3ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:32:20.069056' WHERE "tasks"."id" = 1
350010
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350011
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
350012
+ Task41 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350013
+ Task41 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350014
+  (0.5ms) rollback transaction
350015
+  (0.1ms) begin transaction
350016
+  (0.1ms) SAVEPOINT active_record_1
350017
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350018
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task42"], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350020
+ Task42 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350021
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350022
+  (0.0ms) SAVEPOINT active_record_1
350023
+ Task42 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350024
+  (0.3ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:32:20.106928' WHERE "tasks"."id" = 1
350025
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350026
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
350027
+  (0.5ms) rollback transaction
350028
+  (0.0ms) begin transaction
350029
+  (0.1ms) SAVEPOINT active_record_1
350030
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350031
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task43"], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350032
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350033
+ Task43 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350034
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350035
+  (0.0ms) SAVEPOINT active_record_1
350036
+ Task43 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350037
+  (0.4ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:32:20.203890' WHERE "tasks"."id" = 1
350038
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350039
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
350040
+  (0.0ms) SAVEPOINT active_record_1
350041
+  (0.1ms) UPDATE "moderations" SET "data" = '---
350042
+ :attributes:
350043
+ title: Task 2
350044
+ ', "updated_at" = '2012-10-14 14:32:20.207744' WHERE "moderations"."id" = 1
350045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350046
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350047
+ Task43 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350048
+  (0.0ms) SAVEPOINT active_record_1
350049
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 2', "updated_at" = '2012-10-14 14:32:20.214584' WHERE "tasks"."id" = 1
350050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350051
+  (0.0ms) SAVEPOINT active_record_1
350052
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350054
+ Task43 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350055
+  (0.5ms) rollback transaction
350056
+  (0.1ms) begin transaction
350057
+  (0.1ms) SAVEPOINT active_record_1
350058
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["desc", nil], ["title", nil], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350059
+ SQL (0.6ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["data", {:attributes=>{"title"=>"Task 1"}}], ["moderatable_id", 1], ["moderatable_type", "Task44"], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350061
+ Task44 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350062
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350063
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350064
+  (0.0ms) SAVEPOINT active_record_1
350065
+ Task44 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350066
+  (0.3ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:32:20.251916' WHERE "tasks"."id" = 1
350067
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350068
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
350069
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350070
+ Task44 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350071
+  (0.0ms) SAVEPOINT active_record_1
350072
+  (0.1ms) UPDATE "tasks" SET "title" = 'Task 1', "updated_at" = '2012-10-14 14:32:20.260540' WHERE "tasks"."id" = 1
350073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350074
+  (0.0ms) SAVEPOINT active_record_1
350075
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350076
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350077
+ Task44 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350078
+  (0.6ms) rollback transaction
350079
+  (0.1ms) begin transaction
350080
+  (0.1ms) SAVEPOINT active_record_1
350081
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350082
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350083
+  (0.0ms) SAVEPOINT active_record_1
350084
+ SQL (1.3ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["data", {:associations=>{:renamed_subtasks=>[{"id"=>nil, "task_id"=>1, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}], ["moderatable_id", 1], ["moderatable_type", "Task45"], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350085
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350086
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350087
+  (0.0ms) SAVEPOINT active_record_1
350088
+ Task45 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350089
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", 1], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350090
+ Task45 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350091
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350092
+ Subtask45 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1
350093
+ Task45 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350094
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
350095
+ Task45 Load (0.1ms) SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
350096
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
350097
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
350098
+  (0.6ms) rollback transaction
350099
+  (0.1ms) begin transaction
350100
+  (0.1ms) SAVEPOINT active_record_1
350101
+ SQL (0.5ms) INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350102
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350103
+  (0.1ms) SAVEPOINT active_record_1
350104
+ SQL (1.5ms) INSERT INTO "moderations" ("created_at", "data", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["data", {:associations=>{:renamed_connections=>[{"id"=>nil, "title"=>"Connection 1", "m1_id"=>nil, "m2_id"=>nil, "created_at"=>nil, "updated_at"=>nil, :associations=>{:renamed_subtask=>[{"id"=>nil, "task_id"=>nil, "title"=>"Subtask 1", "desc"=>nil, "created_at"=>nil, "updated_at"=>nil, "parentable_id"=>nil, "parentable_type"=>nil}]}}]}}], ["moderatable_id", 1], ["moderatable_type", "Task46"], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350105
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350106
+  (0.0ms) SAVEPOINT active_record_1
350107
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350108
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
350109
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
350110
+ Moderation Load (0.1ms) SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
350111
+  (0.0ms) SAVEPOINT active_record_1
350112
+ Task46 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350113
+ SQL (0.3ms) INSERT INTO "subtasks" ("created_at", "desc", "parentable_id", "parentable_type", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["desc", nil], ["parentable_id", nil], ["parentable_type", nil], ["task_id", nil], ["title", "Subtask 1"], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350114
+ SQL (0.3ms) INSERT INTO "task_connections" ("created_at", "m1_id", "m2_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00], ["m1_id", 1], ["m2_id", 1], ["title", "Connection 1"], ["updated_at", Sun, 14 Oct 2012 14:32:20 UTC +00:00]]
350115
+ Task46 Load (0.0ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT 1 [["id", 1]]
350116
+ SQL (0.1ms) DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
350117
+ TaskConnection46 Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m1_id" = 1
350118
+ Task46 Load (0.1ms) SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
350119
+ Subtask46 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
350120
+ TaskConnection46 Load (0.1ms) SELECT "task_connections".* FROM "task_connections" WHERE "task_connections"."m2_id" = 1
350121
+ Task46 Load (0.1ms) SELECT "tasks".* FROM "tasks" INNER JOIN "task_connections" ON "tasks"."id" = "task_connections"."m1_id" WHERE "task_connections"."m2_id" = 1
350122
+ Subtask46 Load (0.1ms) SELECT "subtasks".* FROM "subtasks" INNER JOIN "task_connections" ON "subtasks"."id" = "task_connections"."m2_id" WHERE "task_connections"."m1_id" = 1
350123
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
350124
+  (0.1ms) SELECT COUNT(*) FROM "task_connections"
350125
+  (0.1ms) SELECT COUNT(*) FROM "subtasks" 
350126
+  (0.1ms) SELECT COUNT(*) FROM "moderations"
350127
+  (0.6ms) rollback transaction