has_moderated 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1242,3 +1242,26 @@ Migrating to CreatePhotoHolders (20111004164509)
|
|
1242
1242
|
[1m[36m (3.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111003205633')[0m
|
1243
1243
|
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111003234101')
|
1244
1244
|
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111004153147')[0m
|
1245
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1246
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1247
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "hook_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "foo" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
1248
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "moderations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "moderatable_id" integer, "moderatable_type" varchar(255) NOT NULL, "attr_name" varchar(60) NOT NULL, "attr_value" text NOT NULL, "created_at" datetime, "updated_at" datetime)
|
1249
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "photo_holders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
1250
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "created_at" datetime, "updated_at" datetime, "photo_holder_id" integer)
|
1251
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "subtasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime, "task_all_id" integer) [0m
|
1252
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "task_alls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1253
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "task_photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "photo" varchar(255), "task_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
1254
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1255
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1256
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
1257
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1258
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
1259
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111004164509')[0m
|
1260
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013205')
|
1261
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110901013228')[0m
|
1262
|
+
[1m[35m (1.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110901013618')
|
1263
|
+
[1m[36m (2.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110908025410')[0m
|
1264
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110908025606')
|
1265
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111003205633')[0m
|
1266
|
+
[1m[35m (2.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111003234101')
|
1267
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111004153147')[0m
|
data/test/dummy/log/test.log
CHANGED
@@ -22742,3 +22742,429 @@ Migrating to CreatePhotoHolders (20111004164509)
|
|
22742
22742
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "subtasks"
|
22743
22743
|
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" LIMIT 1[0m
|
22744
22744
|
[1m[35mSubtask Load (0.1ms)[0m SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
|
22745
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22746
|
+
[1m[35mSQL (4.1ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", " --- \n:main_model: \n created_at: \n title: hello\n updated_at: \n id: \n foo: \n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:00 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "HookTest"], ["updated_at", Tue, 04 Oct 2011 21:20:00 UTC +00:00]]
|
22747
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22748
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
22749
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22750
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", " --- \n:main_model: \n created_at: \n title: hello\n updated_at: \n id: \n foo: \n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "HookTest"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22751
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22752
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
22753
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22754
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "hook_tests" ("created_at", "foo", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["foo", nil], ["title", "hello"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22755
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22756
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22757
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "moderations" WHERE "moderations"."id" = ?[0m [["id", 1]]
|
22758
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22759
|
+
[1m[36mHookTest Load (0.1ms)[0m [1mSELECT "hook_tests".* FROM "hook_tests" LIMIT 1[0m
|
22760
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22761
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "title"], ["attr_value", " --- Jojo\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", 1], ["moderatable_type", "HookTest"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22762
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22763
|
+
[1m[36mModeration Load (0.1ms)[0m [1mSELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1[0m
|
22764
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
22765
|
+
[1m[36mHookTest Load (0.1ms)[0m [1mSELECT "hook_tests".* FROM "hook_tests" WHERE "hook_tests"."id" = 1 LIMIT 1[0m
|
22766
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22767
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "hook_tests" SET "updated_at" = '2011-10-04 21:20:01.023370', "title" = 'Jojo' WHERE "hook_tests"."id" = 1[0m
|
22768
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22769
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22770
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
|
22771
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22772
|
+
[1m[35mHookTest Load (0.1ms)[0m SELECT "hook_tests".* FROM "hook_tests" LIMIT 1
|
22773
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22774
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Hello\n updated_at: \n id: \n desc: \n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22775
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22776
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
22777
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22778
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "photo_holders" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["title", nil], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22779
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n photo: \n created_at: \n updated_at: \n id: \n photo_holder_id: 1\n :photo_tmp_file: /Users/apple/rails/has_moderated/test/dummy/public/uploads/tmp/20111004-2320-5512-1280/logo_arnes.gif\n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Photo"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22780
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22781
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "photos" [0m
|
22782
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
22783
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22784
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "photos" ("created_at", "photo", "photo_holder_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["photo", "logo_arnes.gif"], ["photo_holder_id", 1], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22785
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22786
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22787
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "moderations" WHERE "moderations"."id" = ?[0m [["id", 1]]
|
22788
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22789
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "photos" [0m
|
22790
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" LIMIT 1
|
22791
|
+
[1m[36mPhoto Load (0.1ms)[0m [1mSELECT "photos".* FROM "photos" LIMIT 1[0m
|
22792
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22793
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n photo: \n created_at: \n updated_at: \n id: \n photo_holder_id: \n :photo_tmp_file: /Users/apple/rails/has_moderated/test/dummy/public/uploads/tmp/20111004-2320-5512-8135/logo_arnes.gif\n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Photo"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22794
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22795
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "photos" [0m
|
22796
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
22797
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22798
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "photos" ("created_at", "photo", "photo_holder_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["photo", "logo_arnes.gif"], ["photo_holder_id", nil], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22799
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22800
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22801
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "moderations" WHERE "moderations"."id" = ?[0m [["id", 1]]
|
22802
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22803
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "photos" [0m
|
22804
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" LIMIT 1
|
22805
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22806
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n photo: \n created_at: \n updated_at: \n id: \n photo_holder_id: \n :photo_tmp_file: /Users/apple/rails/has_moderated/test/dummy/public/uploads/tmp/20111004-2320-5512-2808/logo_arnes.gif\n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Photo"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22807
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22808
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "photos"
|
22809
|
+
[1m[36mModeration Load (0.1ms)[0m [1mSELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1[0m
|
22810
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22811
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "moderations" WHERE "moderations"."id" = ?[0m [["id", 1]]
|
22812
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22813
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "photos" [0m
|
22814
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22815
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Photo"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22816
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22817
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "photos" [0m
|
22818
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
22819
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22820
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "photos" ("created_at", "photo", "photo_holder_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["photo", nil], ["photo_holder_id", nil], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22821
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22822
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22823
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "moderations" WHERE "moderations"."id" = ?[0m [["id", 1]]
|
22824
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22825
|
+
[1m[36mPhoto Load (0.1ms)[0m [1mSELECT "photos".* FROM "photos" LIMIT 1[0m
|
22826
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22827
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "photo_tmp_file"], ["attr_value", "/Users/apple/rails/has_moderated/test/dummy/public/uploads/tmp/20111004-2320-5512-2958/logo_arnes.gif"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", 1], ["moderatable_type", "Photo"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22828
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22829
|
+
[1m[36mPhoto Load (0.1ms)[0m [1mSELECT "photos".* FROM "photos" LIMIT 1[0m
|
22830
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "moderations"
|
22831
|
+
[1m[36mModeration Load (0.1ms)[0m [1mSELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1[0m
|
22832
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."id" = 1 LIMIT 1
|
22833
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22834
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 1]]
|
22835
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "photos" SET "photo" = 'logo_arnes.gif', "updated_at" = '2011-10-04 21:20:01.768673' WHERE "photos"."id" = 1[0m
|
22836
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22837
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22838
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
|
22839
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22840
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" LIMIT 1
|
22841
|
+
[1m[36mPhoto Load (0.1ms)[0m [1mSELECT "photos".* FROM "photos" LIMIT 1[0m
|
22842
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" LIMIT 1
|
22843
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22844
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Task 1\n updated_at: \n id: \n desc: \n:associations: \n :task_photos: \n - photo: \n task_id: \n created_at: \n updated_at: \n id: \n :photo_tmp_file: /Users/apple/rails/has_moderated/test/dummy/public/uploads/tmp/20111004-2320-5512-4559/logo_arnes.gif\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22845
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22846
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "moderations"
|
22847
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "tasks" [0m
|
22848
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "task_photos"
|
22849
|
+
[1m[36mModeration Load (0.1ms)[0m [1mSELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1[0m
|
22850
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22851
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["desc", nil], ["title", "Task 1"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22852
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22853
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22854
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "task_photos" ("created_at", "photo", "task_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["photo", "logo_arnes.gif"], ["task_id", 1], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22855
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22856
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22857
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "moderations" WHERE "moderations"."id" = ?[0m [["id", 1]]
|
22858
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22859
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "tasks" [0m
|
22860
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" LIMIT 1
|
22861
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" LIMIT 1[0m
|
22862
|
+
[1m[35mTaskPhoto Load (0.1ms)[0m SELECT "task_photos".* FROM "task_photos" WHERE "task_photos"."task_id" = 1 LIMIT 1
|
22863
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22864
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Bye Bye\n updated_at: \n id: \n desc: \n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22865
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22866
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "tasks"
|
22867
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "moderations" [0m
|
22868
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22869
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Bye Bye\n updated_at: \n id: \n desc: \n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22870
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22871
|
+
[1m[36mModeration Load (0.1ms)[0m [1mSELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1[0m
|
22872
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22873
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["desc", nil], ["title", "Bye Bye"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22874
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22875
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22876
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
|
22877
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22878
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "moderations"
|
22879
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "tasks" [0m
|
22880
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
|
22881
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22882
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Bye Bye\n updated_at: \n id: \n desc: \n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22883
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22884
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
22885
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22886
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["desc", nil], ["title", "Bye Bye"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22887
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22888
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22889
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "moderations" WHERE "moderations"."id" = ?[0m [["id", 1]]
|
22890
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22891
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1[0m
|
22892
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22893
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "title"], ["attr_value", "--- Hollywood Hills\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22894
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22895
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1[0m
|
22896
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22897
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "title"], ["attr_value", "--- Hollywood Hills\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22898
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22899
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1[0m
|
22900
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22901
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "title"], ["attr_value", "--- Hollywood Hills\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22902
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22903
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1[0m
|
22904
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22905
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "title"], ["attr_value", "--- Hollywood Hills\n"], ["created_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:01 UTC +00:00]]
|
22906
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22907
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "moderations" [0m
|
22908
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
|
22909
|
+
[1m[36mModeration Load (0.1ms)[0m [1mSELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1[0m
|
22910
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1
|
22911
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22912
|
+
[1m[35m (0.1ms)[0m UPDATE "tasks" SET "updated_at" = '2011-10-04 21:20:01.992964', "title" = 'Hollywood Hills' WHERE "tasks"."id" = 1
|
22913
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22914
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22915
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "moderations" WHERE "moderations"."id" = ?[0m [["id", 5]]
|
22916
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22917
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1[0m
|
22918
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "tasks"
|
22919
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22920
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Bye Bye\n updated_at: \n id: \n desc: \n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
22921
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22922
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
22923
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22924
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
|
22925
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22926
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "tasks"
|
22927
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "moderations" [0m
|
22928
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22929
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Bye Bye\n updated_at: \n id: \n desc: \n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
22930
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22931
|
+
[1m[36mModeration Load (0.1ms)[0m [1mSELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1[0m
|
22932
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22933
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["title", "Bye Bye"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
22934
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22935
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22936
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
|
22937
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22938
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
|
22939
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22940
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "title"], ["attr_value", "--- Hollywood Hills\n"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
22941
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22942
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
22943
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22944
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
|
22945
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22946
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "tasks"
|
22947
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1[0m
|
22948
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "moderations"
|
22949
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22950
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Bye Bye\n updated_at: \n id: \n desc: \n:associations: \n :subtasks: \n - created_at: \n task_id: \n title: Hollywood Hills\n updated_at: \n id: \n task_all_id: \n desc: \n"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
22951
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22952
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "tasks"
|
22953
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "subtasks" [0m
|
22954
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
22955
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22956
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["title", "Bye Bye"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
22957
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22958
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22959
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "subtasks" ("created_at", "desc", "task_all_id", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["task_all_id", nil], ["task_id", 1], ["title", "Hollywood Hills"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
22960
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22961
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22962
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
|
22963
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22964
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "moderations"
|
22965
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1[0m
|
22966
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
|
22967
|
+
[1m[36mSubtask Load (0.1ms)[0m [1mSELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1[0m
|
22968
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22969
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Bye Bye\n updated_at: \n id: \n desc: Hollywood Hills\n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
22970
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22971
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "moderations" [0m
|
22972
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
22973
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22974
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", "Hollywood Hills"], ["title", "Bye Bye"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
22975
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22976
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22977
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "moderations" WHERE "moderations"."id" = ?[0m [["id", 1]]
|
22978
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22979
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "moderations" [0m
|
22980
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
|
22981
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1[0m
|
22982
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22983
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Bye Bye\n updated_at: \n id: \n desc: \n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
22984
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22985
|
+
[1m[36mModeration Load (0.1ms)[0m [1mSELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1[0m
|
22986
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22987
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["title", "Bye Bye"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
22988
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22989
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22990
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
|
22991
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22992
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
|
22993
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22994
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "desc"], ["attr_value", "--- Hollywood Hills\n"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
22995
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22996
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "moderations"
|
22997
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1[0m
|
22998
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
22999
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1[0m
|
23000
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23001
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "tasks" SET "desc" = 'Hollywood Hills', "updated_at" = '2011-10-04 21:20:02.157138' WHERE "tasks"."id" = 1[0m
|
23002
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23003
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23004
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
|
23005
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23006
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" ORDER BY "tasks"."id" DESC LIMIT 1
|
23007
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23008
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "subtasks" ("created_at", "desc", "task_all_id", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["task_all_id", nil], ["task_id", nil], ["title", "Bye Bye"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23009
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23010
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "subtasks"
|
23011
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23012
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23013
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23014
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Hollywood Hills\n updated_at: \n id: \n desc: \n:associations: \n :subtasks: \n - 1\n"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23015
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23016
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "tasks"
|
23017
|
+
[1m[36mSubtask Load (0.1ms)[0m [1mSELECT "subtasks".* FROM "subtasks" LIMIT 1[0m
|
23018
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" IS NULL LIMIT 1
|
23019
|
+
[1m[36mModeration Load (0.1ms)[0m [1mSELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1[0m
|
23020
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23021
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["title", "Hollywood Hills"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23022
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23023
|
+
[1m[36mSubtask Load (0.1ms)[0m [1mSELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1[0m
|
23024
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23025
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "subtasks" SET "updated_at" = '2011-10-04 21:20:02.179420', "task_id" = 1 WHERE "subtasks"."id" = 1[0m
|
23026
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23027
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23028
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
|
23029
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23030
|
+
[1m[35mSubtask Load (0.1ms)[0m SELECT "subtasks".* FROM "subtasks" LIMIT 1
|
23031
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1[0m
|
23032
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" LIMIT 1
|
23033
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1[0m
|
23034
|
+
[1m[35mSubtask Load (0.1ms)[0m SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
|
23035
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23036
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Bye Bye\n updated_at: \n id: \n value: \n:associations: \n :subtasks: \n - created_at: \n task_id: \n title: Hollywood Hills\n updated_at: \n id: \n task_all_id: \n desc: \n"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "TaskAll"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23037
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23038
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "task_alls"
|
23039
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "subtasks" [0m
|
23040
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
23041
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23042
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "task_alls" ("created_at", "title", "updated_at", "value") VALUES (?, ?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["title", "Bye Bye"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["value", nil]]
|
23043
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23044
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23045
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "subtasks" ("created_at", "desc", "task_all_id", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["task_all_id", 1], ["task_id", nil], ["title", "Hollywood Hills"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23046
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23047
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23048
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
|
23049
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23050
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "task_alls"
|
23051
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "subtasks" [0m
|
23052
|
+
[1m[35mTaskAll Load (0.1ms)[0m SELECT "task_alls".* FROM "task_alls" LIMIT 1
|
23053
|
+
[1m[36mTaskAll Load (0.1ms)[0m [1mSELECT "task_alls".* FROM "task_alls" LIMIT 1[0m
|
23054
|
+
[1m[35mSubtask Load (0.1ms)[0m SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_all_id" = 1 LIMIT 1
|
23055
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23056
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "subtasks" ("created_at", "desc", "task_all_id", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["task_all_id", nil], ["task_id", nil], ["title", "Bye Bye"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23057
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23058
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "subtasks"
|
23059
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23060
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23061
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23062
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Hollywood Hills\n updated_at: \n id: \n desc: \n:associations: \n :subtasks: \n - 1\n"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23063
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23064
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "tasks"
|
23065
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "subtasks"[0m
|
23066
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "subtasks"
|
23067
|
+
[1m[36mModeration Load (0.1ms)[0m [1mSELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1[0m
|
23068
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23069
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["title", "Hollywood Hills"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23070
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23071
|
+
[1m[36mSubtask Load (0.1ms)[0m [1mSELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1[0m
|
23072
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23073
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "moderations" WHERE "moderations"."id" = ?[0m [["id", 1]]
|
23074
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23075
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" LIMIT 1[0m
|
23076
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
|
23077
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "subtasks" [0m
|
23078
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23079
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Bye Bye\n updated_at: \n id: \n desc: \n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23080
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23081
|
+
[1m[36mModeration Load (0.1ms)[0m [1mSELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1[0m
|
23082
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23083
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["title", "Bye Bye"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23084
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23085
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23086
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 1]]
|
23087
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23088
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "tasks"
|
23089
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" LIMIT 1[0m
|
23090
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23091
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "-"], ["attr_value", "destroy"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23092
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23093
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "tasks" [0m
|
23094
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
23095
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1[0m
|
23096
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
23097
|
+
[1m[36mModeration Load (0.1ms)[0m [1mSELECT "moderations".* FROM "moderations" WHERE "moderations"."moderatable_id" = 1 AND "moderations"."moderatable_type" = 'Task'[0m
|
23098
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
|
23099
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "tasks" WHERE "tasks"."id" = ?[0m [["id", 1]]
|
23100
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23101
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23102
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
|
23103
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23104
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "tasks"
|
23105
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23106
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Bye Bye\n updated_at: \n id: \n desc: \n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23107
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23108
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
23109
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23110
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["title", "Bye Bye"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23111
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23112
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23113
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "moderations" WHERE "moderations"."id" = ?[0m [["id", 1]]
|
23114
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23115
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" LIMIT 1[0m
|
23116
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23117
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "-"], ["attr_value", {:associations=>{:subtasks=>[{"created_at"=>nil, "task_id"=>1, "title"=>"Hollywood Hills", "updated_at"=>nil, "id"=>nil, "task_all_id"=>nil, "desc"=>nil}]}}], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23118
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23119
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1[0m
|
23120
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23121
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23122
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
|
23123
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "subtasks" [0m
|
23124
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
23125
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1[0m
|
23126
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23127
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "subtasks" ("created_at", "desc", "task_all_id", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["task_all_id", nil], ["task_id", 1], ["title", "Hollywood Hills"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23128
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23129
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23130
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "moderations" WHERE "moderations"."id" = ? [["id", 2]]
|
23131
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23132
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1
|
23133
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "subtasks" [0m
|
23134
|
+
[1m[35mTask Load (0.1ms)[0m SELECT "tasks".* FROM "tasks" LIMIT 1
|
23135
|
+
[1m[36mSubtask Load (0.1ms)[0m [1mSELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1[0m
|
23136
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23137
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "subtasks" ("created_at", "desc", "task_all_id", "task_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["task_all_id", nil], ["task_id", nil], ["title", "Hollywood Hills"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23138
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23139
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23140
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["attr_name", "-"], ["attr_value", "--- \n:main_model: \n created_at: \n title: Bye Bye\n updated_at: \n id: \n desc: \n:associations: {}\n\n"], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", nil], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23141
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23142
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
23143
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23144
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "tasks" ("created_at", "desc", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["desc", nil], ["title", "Bye Bye"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23145
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23146
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23147
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "moderations" WHERE "moderations"."id" = ?[0m [["id", 1]]
|
23148
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23149
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" LIMIT 1[0m
|
23150
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23151
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "moderations" ("attr_name", "attr_value", "created_at", "moderatable_id", "moderatable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["attr_name", "-"], ["attr_value", {:associations=>{:subtasks=>[1]}}], ["created_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00], ["moderatable_id", 1], ["moderatable_type", "Task"], ["updated_at", Tue, 04 Oct 2011 21:20:02 UTC +00:00]]
|
23152
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23153
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1[0m
|
23154
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "subtasks"
|
23155
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23156
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23157
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1[0m
|
23158
|
+
[1m[35mModeration Load (0.1ms)[0m SELECT "moderations".* FROM "moderations" ORDER BY "moderations"."id" DESC LIMIT 1
|
23159
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = 1 LIMIT 1[0m
|
23160
|
+
[1m[35mSubtask Load (0.1ms)[0m SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."id" = 1 LIMIT 1
|
23161
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23162
|
+
[1m[35m (0.1ms)[0m UPDATE "subtasks" SET "updated_at" = '2011-10-04 21:20:02.379394', "task_id" = 1 WHERE "subtasks"."id" = 1
|
23163
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23164
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23165
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "moderations" WHERE "moderations"."id" = ?[0m [["id", 2]]
|
23166
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23167
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "subtasks" WHERE "subtasks"."task_id" = 1[0m
|
23168
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "subtasks"
|
23169
|
+
[1m[36mTask Load (0.1ms)[0m [1mSELECT "tasks".* FROM "tasks" LIMIT 1[0m
|
23170
|
+
[1m[35mSubtask Load (0.1ms)[0m SELECT "subtasks".* FROM "subtasks" WHERE "subtasks"."task_id" = 1 LIMIT 1
|
File without changes
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_moderated
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 61
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 17
|
10
|
+
version: 0.0.17
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jan Berdajs
|
@@ -119,7 +119,7 @@ files:
|
|
119
119
|
- test/dummy/public/422.html
|
120
120
|
- test/dummy/public/500.html
|
121
121
|
- test/dummy/public/favicon.ico
|
122
|
-
- test/dummy/public/uploads/task_photo/photo/logo_arnes.gif
|
122
|
+
- test/dummy/public/uploads/task_photo/photo/1/logo_arnes.gif
|
123
123
|
- test/dummy/Rakefile
|
124
124
|
- test/dummy/script/rails
|
125
125
|
- test/dummy/spec/factories/hook_tests.rb
|
@@ -217,7 +217,7 @@ test_files:
|
|
217
217
|
- test/dummy/public/422.html
|
218
218
|
- test/dummy/public/500.html
|
219
219
|
- test/dummy/public/favicon.ico
|
220
|
-
- test/dummy/public/uploads/task_photo/photo/logo_arnes.gif
|
220
|
+
- test/dummy/public/uploads/task_photo/photo/1/logo_arnes.gif
|
221
221
|
- test/dummy/Rakefile
|
222
222
|
- test/dummy/script/rails
|
223
223
|
- test/dummy/spec/factories/hook_tests.rb
|