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